Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 184 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001057, allocations: 88.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004819, allocations: 8.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2548, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.434, allocations: 131.5 MB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.4343, allocations: 71.97 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001814/0.4362, allocations: 0.6374 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4362, allocations: 0 / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4362, allocations: 8 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005884/0.4368, allocations: 345.1 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.4369, allocations: 11.97 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.437, allocations: 34.55 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.437, allocations: 11.91 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.4373, allocations: 171 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.4373, allocations: 11.94 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.4373, allocations: 0 / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4375, allocations: 37.69 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4375, allocations: 4 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4375, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4375, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.4376, allocations: 8 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.4382, allocations: 268.9 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.4383, allocations: 30.45 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.4383, allocations: 4.062 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.4386, allocations: 55.39 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.4386, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002864/0.4389, allocations: 57.62 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.4389, allocations: 55.41 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4391, allocations: 97 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4391, allocations: 25.7 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.4392, allocations: 80.14 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.4392, allocations: 11.89 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.4392, allocations: 0 / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4394, allocations: 318.8 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.4395, allocations: 8 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.4395, allocations: 21.7 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.4396, allocations: 8 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4396, allocations: 0 / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.4397, allocations: 49.55 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4397, allocations: 11.98 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4398, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4398, allocations: 0 / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.4399, allocations: 4 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4399, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.4399, allocations: 12.03 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.44, allocations: 7.938 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001354/0.4401, allocations: 113.8 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4401, allocations: 4.328 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.4402, allocations: 7.5 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4402, allocations: 3.984 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4402, allocations: 0 / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4402, allocations: 0 / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.4405, allocations: 173.5 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4405, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-06/0.4405, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4405, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4405, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4405, allocations: 256 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4405, allocations: 4 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.4407, allocations: 77.08 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.4408, allocations: 84.95 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4408, allocations: 11.98 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.4408, allocations: 4 kB / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.4409, allocations: 7.984 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4409, allocations: 0 / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.441, allocations: 83.28 kB / 1.031 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.441, allocations: 0 / 1.031 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002294/0.4413, allocations: 4 kB / 1.031 GB, free: 8.875 MB / 0.6823 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,assert.u,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0005424/0.4418, allocations: 0.6169 MB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.4419, allocations: 16 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4419, allocations: 3.938 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.442, allocations: 12 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.4422, allocations: 7.984 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.443, allocations: 0.5311 MB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4433, allocations: 0.6809 MB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.4433, allocations: 11.89 kB / 1.033 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.4434, allocations: 15.44 kB / 1.033 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of SimCode: time 3.907e-06/0.4434, allocations: 0 / 1.033 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.4558, allocations: 1.154 MB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/0.4561, allocations: 199.2 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2, allocations: 0 / 1.035 GB, free: 5.625 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)