Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 168.8 kB / 366.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.3 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008711/0.000871, allocations: 95.73 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.941e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.7466, allocations: 116.3 MB / 0.9734 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.9654, allocations: 137.8 MB / 1.108 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.9657, allocations: 64.48 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004051/0.9697, allocations: 1.39 MB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9698, allocations: 0.625 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9698, allocations: 0 / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004828/0.9703, allocations: 365.1 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9703, allocations: 12.58 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.9704, allocations: 10.62 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.9705, allocations: 167 kB / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.9706, allocations: 4.531 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.9706, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.9707, allocations: 20.56 kB / 1.11 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.9708, allocations: 46.22 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9708, allocations: 0.5938 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.9708, allocations: 0 / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9709, allocations: 0.8125 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.9714, allocations: 280.8 kB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.519e-05/0.9715, allocations: 31.17 kB / 1.11 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/0.9715, allocations: 25.23 kB / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.9716, allocations: 0 / 1.11 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.9716, allocations: 33.91 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9716, allocations: 0 / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001805/0.9718, allocations: 53.77 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.9719, allocations: 55.41 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.9719, allocations: 101 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.972, allocations: 25.7 kB / 1.111 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.972, allocations: 80.14 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.9721, allocations: 16.28 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.9721, allocations: 0.875 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9722, allocations: 325.5 kB / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.9722, allocations: 10.56 kB / 1.111 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.9723, allocations: 8 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.9723, allocations: 8 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9723, allocations: 3.938 kB / 1.111 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.829e-05/0.9724, allocations: 49.69 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.9725, allocations: 5.406 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9725, allocations: 3.625 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.9725, allocations: 0 / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.9726, allocations: 21.23 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.9727, allocations: 3.938 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.9728, allocations: 18.98 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.9728, allocations: 0 / 1.111 GB, free: 8.992 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 8.042e-05/0.9729, allocations: 112.9 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001031/0.973, allocations: 53.55 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.973, allocations: 4 kB / 1.111 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.9731, allocations: 8.328 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9731, allocations: 0 / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9731, allocations: 4 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.9731, allocations: 0 / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.9733, allocations: 154.2 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9733, allocations: 2.625 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9734, allocations: 19.98 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-06/0.9734, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.9734, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9734, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9735, allocations: 11.98 kB / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.9736, allocations: 147.2 kB / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.9737, allocations: 85.09 kB / 1.112 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.9737, allocations: 0 / 1.112 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.9738, allocations: 15.98 kB / 1.112 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.9739, allocations: 7.984 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.9739, allocations: 11.94 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.9739, allocations: 80.53 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9739, allocations: 0 / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002073/0.9741, allocations: 8 kB / 1.112 GB, free: 8.195 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0004807/0.9746, allocations: 0.6811 MB / 1.112 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.9747, allocations: 24 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9748, allocations: 0 / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.9748, allocations: 24.34 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.975, allocations: 0 / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.9754, allocations: 106.5 kB / 1.113 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.9757, allocations: 0.6846 MB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.9757, allocations: 4 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.9758, allocations: 15.42 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.9758, allocations: 0 / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.9978, allocations: 1.001 MB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.9981, allocations: 139.8 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.541, allocations: 0 / 1.114 GB, free: 5.43 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)