Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.0011/0.0011, allocations: 168.9 kB / 361.4 MB, free: 6.879 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.708/1.708, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0007404/0.0007404, allocations: 98.34 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.775e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6164, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.7887, allocations: 137.4 MB / 1.099 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.789, allocations: 68.56 kB / 1.099 GB, free: 2.324 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004735/0.7937, allocations: 1.769 MB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7937, allocations: 0 / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7937, allocations: 4 kB / 1.1 GB, free: 0.5977 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.0003011/0.794, allocations: 370 kB / 1.101 GB, free: 192 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.7941, allocations: 8.031 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.7941, allocations: 8.938 kB / 1.101 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.7942, allocations: 163 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.7943, allocations: 4.594 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.7943, allocations: 7.984 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.414e-05/0.7943, allocations: 0.625 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.573e-05/0.7944, allocations: 39.05 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.7944, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.7944, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.7944, allocations: 0.8438 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.7947, allocations: 265.8 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.7948, allocations: 27.27 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.7948, allocations: 9.469 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.7948, allocations: 0.5938 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.7949, allocations: 60.8 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.7949, allocations: 2.594 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.7951, allocations: 53.62 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.7951, allocations: 59.94 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.7952, allocations: 101.7 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.7952, allocations: 29.7 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.7953, allocations: 84.83 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.7953, allocations: 8.875 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.7953, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7954, allocations: 315.7 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.7955, allocations: 34.98 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.7955, allocations: 45.11 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.7957, allocations: 31.97 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7957, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002581/0.796, allocations: 113.6 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.796, allocations: 42.69 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.796, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.796, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.164e-05/0.796, allocations: 2.219 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.7961, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.7962, allocations: 36.06 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.7963, allocations: 4 kB / 1.102 GB, free: 14.51 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 7.987e-05/0.7963, allocations: 115.9 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.974e-05/0.7964, allocations: 53.67 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.7964, allocations: 7.906 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.7964, allocations: 9.703 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.7965, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7965, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7965, allocations: 4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.7966, allocations: 138.2 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7966, allocations: 4 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.7966, allocations: 0 / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7966, allocations: 3.984 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.7966, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.7966, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7966, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/0.7967, allocations: 77.02 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.7967, allocations: 90.94 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.7968, allocations: 1.625 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.7968, allocations: 3.938 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.7968, allocations: 3.984 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.7968, allocations: 4 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.7968, allocations: 86.19 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7968, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001946/0.797, allocations: 20 kB / 1.103 GB, free: 13.82 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.0003423/0.7974, allocations: 0.6323 MB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.7976, allocations: 115.4 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7976, allocations: 0 / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.7976, allocations: 8 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.7977, allocations: 14.12 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.798, allocations: 100 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.7983, allocations: 0.6853 MB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.75e-05/0.7983, allocations: 4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.7983, allocations: 11.44 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7983, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5105/1.309, allocations: 1.351 MB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/1.309, allocations: 160 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.949, allocations: 0 / 1.106 GB, free: 10.67 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)