Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.397/2.397, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001478/0.001478, allocations: 176.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001187/0.001187, allocations: 96.22 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.546e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.8587, allocations: 115.3 MB / 0.9634 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/1.11, allocations: 137.2 MB / 1.097 GB, free: 3.344 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.11, allocations: 71.95 kB / 1.097 GB, free: 3.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008251/1.118, allocations: 1.773 MB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/1.118, allocations: 4.531 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.118, allocations: 0.625 kB / 1.099 GB, free: 1.539 MB / 0.698 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.0004354/1.119, allocations: 357.5 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/1.119, allocations: 8.031 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/1.119, allocations: 9.109 kB / 1.1 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.119, allocations: 171.8 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/1.119, allocations: 0 / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/1.119, allocations: 4.625 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.574e-05/1.119, allocations: 8 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/1.119, allocations: 34.38 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.119, allocations: 0.625 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.119, allocations: 0.75 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.119, allocations: 4.5 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/1.12, allocations: 266.7 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/1.12, allocations: 21.98 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/1.12, allocations: 9.453 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/1.12, allocations: 1.594 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/1.12, allocations: 51.97 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/1.12, allocations: 0.75 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/1.12, allocations: 61.84 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/1.12, allocations: 57.11 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/1.121, allocations: 100.9 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/1.121, allocations: 33.64 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/1.121, allocations: 87.3 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/1.121, allocations: 3.906 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/1.121, allocations: 0 / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.121, allocations: 326.8 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.839e-05/1.121, allocations: 20 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.121, allocations: 47.44 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/1.121, allocations: 31.41 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.121, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004546/1.122, allocations: 113.6 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/1.122, allocations: 38.62 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.122, allocations: 1.875 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.122, allocations: 5.172 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.189e-05/1.122, allocations: 4 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.122, allocations: 3.938 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/1.122, allocations: 34.97 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/1.122, allocations: 15.98 kB / 1.101 GB, free: 15.45 MB / 0.7136 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 0.0001056/1.123, allocations: 112.7 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001011/1.123, allocations: 49.69 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/1.123, allocations: 7.906 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/1.123, allocations: 4.344 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.123, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.123, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.123, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/1.123, allocations: 148.1 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.123, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-06/1.123, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.123, allocations: 4 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/1.123, allocations: 0 / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.123, allocations: 3.938 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.123, allocations: 4 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/1.123, allocations: 77.08 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/1.123, allocations: 85 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/1.123, allocations: 0.6562 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/1.123, allocations: 0 / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/1.123, allocations: 8 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/1.123, allocations: 3.938 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.994e-05/1.123, allocations: 86.22 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.123, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003409/1.124, allocations: 23.98 kB / 1.102 GB, free: 14.76 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: 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.0004831/1.124, allocations: 0.6332 MB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002579/1.125, allocations: 111.4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.125, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/1.125, allocations: 15.94 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/1.125, allocations: 6.062 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/1.125, allocations: 96.05 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.126, allocations: 0.6848 MB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.877e-05/1.126, allocations: 5.266 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/1.126, allocations: 15.44 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.126, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/1.162, allocations: 1.339 MB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/1.162, allocations: 153 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.502, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)