Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.814/1.814, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001126/0.001126, allocations: 182.1 kB / 371.6 MB, free: 3.375 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.91/1.91, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001095/0.001095, allocations: 90.19 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.87e-05/5.905e-05, allocations: 4 kB / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7683/1.11, allocations: 139 MB / 1.116 GB, free: 44.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/1.11, allocations: 69.36 kB / 1.116 GB, free: 44.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00448/1.115, allocations: 1.776 MB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.893e-06/1.115, allocations: 0.5625 kB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.115, allocations: 0 / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002594/1.115, allocations: 371.6 kB / 1.118 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.115, allocations: 12.03 kB / 1.118 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/1.115, allocations: 30.56 kB / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/1.115, allocations: 7.75 kB / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/1.115, allocations: 163.6 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/1.115, allocations: 7.266 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/1.115, allocations: 7.938 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/1.115, allocations: 34.06 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/1.115, allocations: 4 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/1.115, allocations: 4 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.115, allocations: 1.125 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/1.115, allocations: 8.75 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/1.116, allocations: 289.5 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.826e-05/1.116, allocations: 18.58 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/1.116, allocations: 4.859 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/1.116, allocations: 8.031 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.699e-05/1.116, allocations: 58.72 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/1.116, allocations: 0 / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000137/1.116, allocations: 65.78 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.116, allocations: 51.41 kB / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/1.116, allocations: 97.75 kB / 1.119 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/1.116, allocations: 29.7 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/1.116, allocations: 92.17 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/1.116, allocations: 11.86 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/1.116, allocations: 0 / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.405e-05/1.116, allocations: 314.8 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/1.116, allocations: 31.56 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/1.116, allocations: 45.73 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/1.116, allocations: 65.12 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/1.116, allocations: 0.75 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002152/1.117, allocations: 140.3 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.117, allocations: 37.17 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/1.117, allocations: 0 / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.117, allocations: 4 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.339e-05/1.117, allocations: 1.062 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.117, allocations: 0.7031 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/1.117, allocations: 38.98 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/1.117, allocations: 11.77 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.191e-05/1.117, allocations: 108.9 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/1.117, allocations: 0.7969 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/1.117, allocations: 4.031 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.117, allocations: 8 kB / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.117, allocations: 0 / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.117, allocations: 4.219 kB / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.25e-05/1.117, allocations: 160.6 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.117, allocations: 0.75 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-06/1.117, allocations: 4 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.117, allocations: 4.172 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/1.117, allocations: 3.938 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.117, allocations: 0.5625 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.117, allocations: 0.9375 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.561e-05/1.117, allocations: 88.73 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/1.117, allocations: 78.52 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/1.117, allocations: 7.406 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/1.117, allocations: 0.875 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/1.117, allocations: 4 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/1.117, allocations: 0 / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.235e-05/1.117, allocations: 87.8 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 0 / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001966/1.118, allocations: 28 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002727/1.118, allocations: 0.6213 MB / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001627/1.118, allocations: 121.7 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.118, allocations: 0 / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/1.118, allocations: 12.12 kB / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/1.118, allocations: 11.56 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/1.119, allocations: 105.5 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/1.119, allocations: 0.6765 MB / 1.121 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.893e-05/1.119, allocations: 4.703 kB / 1.121 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/1.119, allocations: 11.84 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.119, allocations: 4 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/1.13, allocations: 1.693 MB / 1.123 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.131, allocations: 156.3 kB / 1.123 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.659, allocations: 0 / 1.123 GB, free: 38.21 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)