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 2.023/2.023, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001123/0.001123, allocations: 182.5 kB / 377.1 MB, free: 1.539 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.722/1.722, allocations: 205.4 MB / 0.6366 GB, free: 8.531 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.001173/0.001173, allocations: 92.48 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004325, allocations: 16 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3049, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8071/1.112, allocations: 138.5 MB / 1.124 GB, free: 36 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.112, allocations: 70.36 kB / 1.124 GB, free: 35.94 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003602/1.116, allocations: 1.403 MB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/1.116, allocations: 0 / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.116, allocations: 0 / 1.125 GB, free: 34.88 MB / 0.7292 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.0004532/1.117, allocations: 383.1 kB / 1.126 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.117, allocations: 12.02 kB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/1.117, allocations: 34.56 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/1.117, allocations: 10.56 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.117, allocations: 170.3 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.117, allocations: 4 kB / 1.126 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/1.117, allocations: 3.438 kB / 1.126 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/1.117, allocations: 81.75 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.117, allocations: 0 / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.117, allocations: 0.5625 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.117, allocations: 3.469 kB / 1.126 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/1.118, allocations: 85.53 kB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/1.118, allocations: 303.7 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/1.118, allocations: 72.47 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/1.118, allocations: 0 / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.118, allocations: 35.22 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/1.118, allocations: 0 / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000542/1.119, allocations: 169.4 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/1.119, allocations: 51.41 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/1.119, allocations: 100.3 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/1.119, allocations: 25.7 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/1.119, allocations: 96.06 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/1.119, allocations: 7.562 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/1.119, allocations: 0 / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/1.119, allocations: 326.8 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.119, allocations: 37.75 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/1.119, allocations: 46.5 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/1.12, allocations: 44.95 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.12, allocations: 0 / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/1.12, allocations: 123 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.12, allocations: 9.719 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.12, allocations: 3.938 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.12, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/1.12, allocations: 22.75 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.12, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/1.12, allocations: 20.25 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.12, allocations: 4.844 kB / 1.127 GB, free: 32.62 MB / 0.7292 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 (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 6.72e-05/1.12, allocations: 117.3 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/1.12, allocations: 4.516 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/1.12, allocations: 11.84 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/1.12, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.12, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/1.12, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.12, allocations: 169.9 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.12, allocations: 0 / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.121, allocations: 24.12 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.121, allocations: 0 / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/1.121, allocations: 4.5 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.121, allocations: 0 / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.121, allocations: 7.562 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/1.121, allocations: 220.4 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/1.121, allocations: 82.89 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.121, allocations: 0 / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.121, allocations: 19.38 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/1.121, allocations: 7.469 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/1.121, allocations: 0.5625 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3e-05/1.121, allocations: 87.66 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.121, allocations: 0 / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002035/1.121, allocations: 8.562 kB / 1.128 GB, free: 31.84 MB / 0.7292 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 (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.0005837/1.122, allocations: 0.7596 MB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003217/1.122, allocations: 93.05 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.122, allocations: 0 / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.123, allocations: 47.25 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/1.123, allocations: 8.656 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/1.123, allocations: 161.9 kB / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/1.123, allocations: 0.688 MB / 1.13 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.546e-05/1.123, allocations: 5.031 kB / 1.13 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/1.123, allocations: 15.38 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/1.124, allocations: 0.9375 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/1.138, allocations: 1.316 MB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.138, allocations: 180.7 kB / 1.131 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.828, allocations: 0 / 1.131 GB, free: 29.12 MB / 0.7292 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)