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.Exp.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.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 177.9 kB / 316.3 MB, free: 3.332 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.546/1.546, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009531/0.0009531, allocations: 101.5 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.615e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2003, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6651/0.8655, allocations: 131.6 MB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.8658, allocations: 70.7 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001763/0.8675, allocations: 0.649 MB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8676, allocations: 4 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8676, allocations: 0 / 1.015 GB, free: 5.176 MB / 0.6355 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.0003557/0.8679, allocations: 334.8 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.868, allocations: 12.03 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.868, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.8682, allocations: 171 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8682, allocations: 4 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.8682, allocations: 4 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.227e-05/0.8683, allocations: 11.19 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.096e-05/0.8683, allocations: 33.69 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.8684, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.8684, allocations: 4 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.8684, allocations: 0 / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.8688, allocations: 247.1 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.8688, allocations: 26.02 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.8689, allocations: 12.86 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.8689, allocations: 0 / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.8689, allocations: 30.56 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.8689, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001447/0.8691, allocations: 51.47 kB / 1.015 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.8691, allocations: 51.41 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.8692, allocations: 97.23 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.8692, allocations: 29.7 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.8693, allocations: 84.08 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.8693, allocations: 3.906 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.8693, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8694, allocations: 318.8 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.8694, allocations: 11.78 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.8694, allocations: 4 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.748e-05/0.8695, allocations: 7.875 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8695, allocations: 4 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.753e-05/0.8695, allocations: 36.45 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.8696, allocations: 4 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8696, allocations: 0 / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.8696, allocations: 0 / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.8697, allocations: 19.2 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.8697, allocations: 4 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.8698, allocations: 7.984 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.8698, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 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 () * 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.656e-05/0.8698, allocations: 108.9 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.305e-05/0.8699, allocations: 41.64 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.87, allocations: 7.891 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.8701, allocations: 52.62 kB / 1.016 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8701, allocations: 7.922 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8701, allocations: 0 / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.8701, allocations: 0 / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.8702, allocations: 137.8 kB / 1.016 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8702, allocations: 3.938 kB / 1.016 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.8703, allocations: 11.98 kB / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8703, allocations: 0 / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.8703, allocations: 0 / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.8703, allocations: 0 / 1.016 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.8703, allocations: 8.031 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.8705, allocations: 137.4 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.8705, allocations: 81.09 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.8705, allocations: 4 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.8706, allocations: 4 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.8707, allocations: 3.984 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.8707, allocations: 8.031 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.8707, allocations: 78.09 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8707, allocations: 0 / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001994/0.8709, allocations: 4 kB / 1.017 GB, free: 2.676 MB / 0.6355 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 () * 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.0004092/0.8713, allocations: 0.6784 MB / 1.017 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.8714, allocations: 15.44 kB / 1.017 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8714, allocations: 0 / 1.017 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.8714, allocations: 7.125 kB / 1.017 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.8716, allocations: 1.719 kB / 1.017 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.8719, allocations: 92.97 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.8722, allocations: 0.6806 MB / 1.018 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.8723, allocations: 12.02 kB / 1.018 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.8723, allocations: 11.44 kB / 1.018 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.8723, allocations: 3.938 kB / 1.018 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.8891, allocations: 0.6927 MB / 1.019 GB, free: 440 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.8894, allocations: 157.1 kB / 1.019 GB, free: 240 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.377/2.267, allocations: 0 / 1.019 GB, free: 240 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)