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.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 172.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009087/0.0009086, allocations: 85.73 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.952e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1973, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6905/0.8879, allocations: 131.7 MB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.8881, allocations: 72.27 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001513/0.8896, allocations: 0.6438 MB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8897, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8897, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 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.0003161/0.89, allocations: 338.2 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.89, allocations: 12.02 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.8901, allocations: 4 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.8902, allocations: 174.3 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.8902, allocations: 4 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-06/0.8902, allocations: 0 / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.419e-05/0.8903, allocations: 4 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.535e-05/0.8904, allocations: 44.92 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.8904, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.8904, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.8904, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.8908, allocations: 250 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.8908, allocations: 29.3 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.8908, allocations: 8.922 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.8909, allocations: 0 / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.194e-05/0.891, allocations: 57.47 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.891, allocations: 0 / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001246/0.8911, allocations: 44.77 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.8911, allocations: 58.12 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.8912, allocations: 96.44 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.8912, allocations: 25.7 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.8913, allocations: 83.45 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.8913, allocations: 4.656 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.8913, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8914, allocations: 326.8 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.8914, allocations: 7.375 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.8915, allocations: 16.91 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.42e-05/0.8915, allocations: 0 / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8915, allocations: 4 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.625e-05/0.8916, allocations: 48.88 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8916, allocations: 9.969 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8916, allocations: 5.531 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.8916, allocations: 0 / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.8916, allocations: 4 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.8917, allocations: 0 / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.8917, allocations: 11.98 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.8917, allocations: 0 / 1.016 GB, free: 3.598 MB / 0.6355 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 () * 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 6.565e-05/0.8918, allocations: 108.2 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.592e-05/0.8919, allocations: 56.78 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.8919, allocations: 4 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.8919, allocations: 4.125 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8919, allocations: 0 / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8919, allocations: 7.938 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.8919, allocations: 0 / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.995e-05/0.892, allocations: 146 kB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8921, allocations: 0 / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.8921, allocations: 0 / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8921, allocations: 0 / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.8921, allocations: 3.984 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8921, allocations: 4 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8921, allocations: 4 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/0.8922, allocations: 71.89 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.8922, allocations: 81.02 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8922, allocations: 4 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.8923, allocations: 7.984 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.8923, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.8924, allocations: 7.984 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.8924, allocations: 90.78 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8924, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001825/0.8926, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 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 () * 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.0003057/0.8929, allocations: 0.6063 MB / 1.017 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.5e-05/0.893, allocations: 19.38 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.893, allocations: 0 / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.893, allocations: 15.23 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.8932, allocations: 4 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.8934, allocations: 99.09 kB / 1.017 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.8937, allocations: 0.6768 MB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.8937, allocations: 7.984 kB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.8938, allocations: 7.5 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.8938, allocations: 7.938 kB / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.9099, allocations: 0.8611 MB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.9101, allocations: 156.5 kB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.371/2.281, allocations: 0 / 1.019 GB, free: 400 kB / 0.6355 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)