Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001803/0.001803, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 75.81 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7792, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001943/0.7812, allocations: 0.6673 MB / 1.017 GB, free: 2.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.783, allocations: 1.117 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.7831, allocations: 4 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.7831, allocations: 0 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.7833, allocations: 11.92 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.7838, allocations: 103.6 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.7839, allocations: 83.77 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.784, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.7841, allocations: 27.97 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.7842, allocations: 31.89 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.7842, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.7843, allocations: 15.98 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.7843, allocations: 8 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.7844, allocations: 23.92 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.7846, allocations: 75.78 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7846, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7846, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7846, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 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.0005317/0.7851, allocations: 375.3 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7852, allocations: 12.03 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.7853, allocations: 8.844 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.7854, allocations: 172.3 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.7854, allocations: 4.375 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.7854, allocations: 12.36 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.7855, allocations: 34.25 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.7855, allocations: 192 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7856, allocations: 7.875 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7856, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.7856, allocations: 11.98 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.7861, allocations: 280.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.7862, allocations: 30.45 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.7862, allocations: 8.922 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.7862, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.7864, allocations: 63.38 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7864, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001908/0.7866, allocations: 69.53 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.7867, allocations: 59.39 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.7868, allocations: 97.86 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.7869, allocations: 29.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.787, allocations: 92.12 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.787, allocations: 7.844 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.7871, allocations: 29.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7872, allocations: 314.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.7873, allocations: 31.98 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.7874, allocations: 50.55 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.7875, allocations: 76.22 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7875, allocations: 3.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002579/0.7877, allocations: 147.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.7878, allocations: 37.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7878, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7878, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.7878, allocations: 4.312 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7878, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.7881, allocations: 31.95 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.7881, allocations: 8 kB / 1.021 GB, free: 14.42 MB / 0.7794 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 9.179e-05/0.7882, allocations: 117.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.7882, allocations: 11.84 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.7882, allocations: 11.89 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.7882, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7882, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7883, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.7884, allocations: 157.6 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7884, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.7884, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.7884, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.7884, allocations: 8.219 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7884, allocations: 7.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7884, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.274e-05/0.7885, allocations: 81.05 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.7886, allocations: 85.02 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.7886, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.7886, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.7886, allocations: 3.984 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.7886, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.7887, allocations: 91.22 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.675e-06/0.7887, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001996/0.7889, allocations: 23.94 kB / 1.021 GB, free: 13.72 MB / 0.7794 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.0001267/0.789, allocations: 103.2 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.7892, allocations: 119.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7892, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.7893, allocations: 15.94 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.7895, allocations: 17.83 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.7898, allocations: 120 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.7901, allocations: 0.6848 MB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.7901, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.7902, allocations: 11.44 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7902, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.003416/0.7936, allocations: 1.03 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches