Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008516/0.008515, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 62.97 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001692/0.2584, allocations: 0.5951 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2599, allocations: 1.114 MB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.2599, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.26, allocations: 0 / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.2601, allocations: 11.92 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.2605, allocations: 120.8 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.2607, allocations: 95.88 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.2608, allocations: 3.938 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.2609, allocations: 35.97 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.261, allocations: 35.91 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.261, allocations: 8.031 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.2611, allocations: 23.88 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2611, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.2612, allocations: 31.91 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2614, allocations: 84.02 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2614, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2614, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2614, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 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.0004252/0.2618, allocations: 377.1 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2619, allocations: 12.03 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.2619, allocations: 34.75 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.2619, allocations: 4.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2621, allocations: 164.4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2621, allocations: 384 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2621, allocations: 4.375 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.2622, allocations: 46.19 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2622, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2622, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2622, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.2623, allocations: 8 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.2626, allocations: 288.8 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.2627, allocations: 22.52 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.2627, allocations: 12.92 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.2627, allocations: 3.938 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.2629, allocations: 63.39 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2629, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001807/0.2631, allocations: 53.69 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2631, allocations: 51.41 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.2632, allocations: 117.8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.2633, allocations: 29.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.2633, allocations: 88.08 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.2633, allocations: 11.98 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.2634, allocations: 33.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.2635, allocations: 314.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.2636, allocations: 27.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.2637, allocations: 46.56 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.2638, allocations: 88.36 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2638, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002459/0.2641, allocations: 147.2 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.2641, allocations: 41.69 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2641, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2642, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.505e-05/0.2642, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2642, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.2644, allocations: 23.97 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.2644, allocations: 12.08 kB / 1.092 GB, free: 13.47 MB / 0.8575 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 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.2645, allocations: 121.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2645, allocations: 7.953 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2646, allocations: 3.906 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2646, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2646, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2646, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2647, allocations: 165.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2647, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-06/0.2647, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2647, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.2647, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2648, allocations: 3.938 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2648, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2649, allocations: 81.05 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.2649, allocations: 81.05 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2649, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.265, allocations: 8.312 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.265, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.265, allocations: 8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.265, allocations: 83.27 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.265, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002187/0.2653, allocations: 16 kB / 1.092 GB, free: 12.79 MB / 0.8575 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004577/0.2657, allocations: 0.6318 MB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.266, allocations: 119.4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.266, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.266, allocations: 7.938 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.2662, allocations: 19.44 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2675, allocations: 1.358 MB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2678, allocations: 0.6729 MB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.2678, allocations: 8.219 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.2679, allocations: 11.44 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2679, allocations: 0 / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.2875, allocations: 1.974 MB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.859, allocations: 9.562 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches