Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009898/0.0009898, allocations: 186.3 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 104.3 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 15.8 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2421, allocations: 106.4 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001754/0.244, allocations: 1.091 MB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.2443, allocations: 120.6 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.2443, allocations: 0 / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2444, allocations: 0 / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.2444, allocations: 4 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.2446, allocations: 4 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.2447, allocations: 19.92 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.2448, allocations: 4 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.2449, allocations: 15.92 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.2449, allocations: 4 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2449, allocations: 0 / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.245, allocations: 4 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.245, allocations: 11.97 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.245, allocations: 29.64 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.425e-05/0.2451, allocations: 11.97 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2451, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2451, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2451, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000427/0.2456, allocations: 339.4 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2456, allocations: 11.97 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.2457, allocations: 34.56 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.2457, allocations: 3.938 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2458, allocations: 167.2 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2458, allocations: 4 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.2458, allocations: 0 / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.246, allocations: 57.67 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2461, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2461, allocations: 3.938 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2461, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.2463, allocations: 47.95 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.2466, allocations: 248.8 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2467, allocations: 46.59 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.2468, allocations: 32.91 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2469, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.2469, allocations: 38.5 kB / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2469, allocations: 0 / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.2472, allocations: 97.64 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2473, allocations: 51.41 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.2474, allocations: 109.8 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.2474, allocations: 29.7 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.2474, allocations: 84.27 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.2474, allocations: 3.906 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2474, allocations: 0 / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.2475, allocations: 314.8 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.2476, allocations: 19.98 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.2477, allocations: 31.91 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.2478, allocations: 19.98 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2478, allocations: 0 / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.248, allocations: 77.72 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.248, allocations: 6.656 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.248, allocations: 4 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.248, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.2481, allocations: 11.98 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.2481, allocations: 0 / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.2482, allocations: 4 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2482, allocations: 23.92 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.2483, allocations: 105.8 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.2483, allocations: 3.906 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.2485, allocations: 92.7 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2485, allocations: 0 / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2486, allocations: 0 / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2486, allocations: 4 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2487, allocations: 157.6 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2487, allocations: 3.938 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.2488, allocations: 11.98 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2488, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.2488, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2488, allocations: 4.031 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2488, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.249, allocations: 175.4 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.249, allocations: 85.14 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2491, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.2491, allocations: 11.98 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.2492, allocations: 0 / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.2492, allocations: 0 / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.2492, allocations: 83.27 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2492, allocations: 0 / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001955/0.2494, allocations: 4 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/0.2499, allocations: 0.7047 MB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.2501, allocations: 55.89 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2501, allocations: 0 / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.712e-05/0.2502, allocations: 28.05 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2505, allocations: 1.375 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.2509, allocations: 142.2 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2511, allocations: 0.677 MB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.2511, allocations: 4 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.2511, allocations: 11.5 kB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2511, allocations: 4 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.2625, allocations: 1.017 MB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.2628, allocations: 198.6 kB / 0.9069 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.929, allocations: 3.938 kB / 0.9069 GB, free: 56.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)