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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_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_9_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.0008591/0.0008591, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003718, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7934, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008371/0.7943, allocations: 336.8 kB / 0.956 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.7956, allocations: 1.104 MB / 0.9571 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.7957, allocations: 5.344 kB / 0.9571 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.7957, allocations: 0 / 0.9571 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.7958, allocations: 7.922 kB / 0.9571 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.7962, allocations: 103.1 kB / 0.9572 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.7963, allocations: 78.91 kB / 0.9573 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.7964, allocations: 2.656 kB / 0.9573 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.7965, allocations: 36.03 kB / 0.9573 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.7966, allocations: 26.02 kB / 0.9574 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.7966, allocations: 5.344 kB / 0.9574 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.7967, allocations: 17.41 kB / 0.9574 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.7967, allocations: 10.8 kB / 0.9574 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.7968, allocations: 46.41 kB / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.7969, allocations: 58.17 kB / 0.9575 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7969, allocations: 0 / 0.9575 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7969, allocations: 0 / 0.9575 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7969, allocations: 1.344 kB / 0.9575 GB, free: 6.395 MB / 0.7169 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.0003609/0.7973, allocations: 359 kB / 0.9578 GB, free: 6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.7973, allocations: 12.34 kB / 0.9578 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.7974, allocations: 6.031 kB / 0.9579 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.225e-05/0.7975, allocations: 173.4 kB / 0.958 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.7975, allocations: 10.52 kB / 0.958 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.7976, allocations: 5.094 kB / 0.958 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.7977, allocations: 35.45 kB / 0.9581 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.7977, allocations: 192 / 0.9581 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7977, allocations: 5 kB / 0.9581 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7977, allocations: 3.984 kB / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.7977, allocations: 11.47 kB / 0.9581 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.7981, allocations: 282.5 kB / 0.9584 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.7981, allocations: 25.42 kB / 0.9584 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.7981, allocations: 6.891 kB / 0.9584 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.7981, allocations: 1.156 kB / 0.9584 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.7983, allocations: 66.33 kB / 0.9585 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.7983, allocations: 0 / 0.9585 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001722/0.7985, allocations: 63 kB / 0.9585 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.7985, allocations: 57.42 kB / 0.9586 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.983e-05/0.7986, allocations: 105.3 kB / 0.9587 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.7986, allocations: 39.75 kB / 0.9587 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.7987, allocations: 82.14 kB / 0.9588 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.7987, allocations: 1.906 kB / 0.9588 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.7987, allocations: 17.41 kB / 0.9588 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.7988, allocations: 316.2 kB / 0.9591 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.7988, allocations: 38.59 kB / 0.9591 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.7989, allocations: 43.28 kB / 0.9592 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.799, allocations: 84.98 kB / 0.9593 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.799, allocations: 3.938 kB / 0.9593 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002143/0.7992, allocations: 145.6 kB / 0.9594 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.7993, allocations: 37.64 kB / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7993, allocations: 0 / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7993, allocations: 6.453 kB / 0.9594 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-05/0.7993, allocations: 0 / 0.9594 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7993, allocations: 5.516 kB / 0.9595 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.7996, allocations: 37.59 kB / 0.9595 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.7996, allocations: 5.438 kB / 0.9595 GB, free: 4.336 MB / 0.7169 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 6.857e-05/0.7997, allocations: 123.1 kB / 0.9596 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.7997, allocations: 1.781 kB / 0.9596 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.7997, allocations: 3.906 kB / 0.9596 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7997, allocations: 1.812 kB / 0.9596 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7998, allocations: 0 / 0.9596 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.7998, allocations: 4.234 kB / 0.9596 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.055e-05/0.7998, allocations: 170.9 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7999, allocations: 0 / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.7999, allocations: 1.812 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7999, allocations: 3.984 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.7999, allocations: 5.781 kB / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7999, allocations: 0 / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7999, allocations: 0 / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.8, allocations: 87.38 kB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.8, allocations: 77.11 kB / 0.96 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.8, allocations: 6.234 kB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.8001, allocations: 0 / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.8001, allocations: 1.969 kB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.8001, allocations: 1.844 kB / 0.96 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.8001, allocations: 91.36 kB / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8001, allocations: 0 / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002074/0.8004, allocations: 15.44 kB / 0.9601 GB, free: 3.707 MB / 0.7169 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.0001259/0.8005, allocations: 105.2 kB / 0.9602 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.8007, allocations: 123.1 kB / 0.9603 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8007, allocations: 0 / 0.9603 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.8007, allocations: 16.17 kB / 0.9603 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.8009, allocations: 19.36 kB / 0.9603 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.8012, allocations: 156.1 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.8013, allocations: 0.6784 MB / 0.9611 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.8013, allocations: 10.09 kB / 0.9611 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8013, allocations: 0 / 0.9611 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.00246/0.8038, allocations: 0.8763 MB / 0.962 GB, free: 2.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/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