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: 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.001576/0.001576, allocations: 110.7 kB / 16.41 MB, free: 6.488 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: 187 kB / 17.34 MB, free: 5.762 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 71.88 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8459, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001718/0.8477, allocations: 0.5988 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.8491, allocations: 1.107 MB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.8492, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.8492, allocations: 5.094 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.8493, allocations: 5.016 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.8498, allocations: 123.1 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.85, allocations: 94.41 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.8501, allocations: 12.48 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.8502, allocations: 30.08 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.8503, allocations: 30.5 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.8503, allocations: 11.66 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.8504, allocations: 25.78 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.8504, allocations: 2.625 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.8505, allocations: 30.45 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.8507, allocations: 83.08 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8507, allocations: 0 / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8507, allocations: 0 / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8507, allocations: 0 / 1.091 GB, free: 4.16 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.0004228/0.8511, allocations: 381.3 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8512, allocations: 9.516 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.8512, allocations: 13.91 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.8513, allocations: 162.8 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.8514, allocations: 3.531 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.8514, allocations: 4.375 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.8515, allocations: 38.86 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8515, allocations: 0.75 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8515, allocations: 3.938 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.8515, allocations: 1.406 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.8515, allocations: 7.234 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.8519, allocations: 291.9 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.519e-05/0.852, allocations: 26.66 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.852, allocations: 7.781 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.852, allocations: 0 / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.8522, allocations: 62.44 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.8522, allocations: 4 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002251/0.8524, allocations: 65.17 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8525, allocations: 53 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.8526, allocations: 107.9 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.8526, allocations: 28.84 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.8526, allocations: 87.53 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.8526, allocations: 9.516 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.8527, allocations: 29.31 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.8528, allocations: 321.3 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.8528, allocations: 28.03 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.8529, allocations: 49.14 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/0.853, allocations: 83.33 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.853, allocations: 3.938 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002369/0.8533, allocations: 146.9 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.8533, allocations: 37.64 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.8533, allocations: 1.062 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.8534, allocations: 0.6875 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.905e-05/0.8534, allocations: 2.875 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.8534, allocations: 0.6562 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.8536, allocations: 30.39 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.8536, allocations: 5.891 kB / 1.093 GB, free: 2.203 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 6.999e-05/0.8537, allocations: 127.7 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.8537, allocations: 6.156 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.8538, allocations: 5.797 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8538, allocations: 0.6094 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8538, allocations: 0.9062 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8538, allocations: 0 / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.01e-05/0.8539, allocations: 166.6 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8539, allocations: 0 / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.8539, allocations: 1.734 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.8539, allocations: 7.938 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.8539, allocations: 0.7188 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8539, allocations: 1.734 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8539, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.854, allocations: 80.23 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.8541, allocations: 83.45 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.8541, allocations: 5.797 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.8541, allocations: 0.875 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.8542, allocations: 6.469 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.8542, allocations: 6.375 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.8542, allocations: 85.41 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8542, allocations: 0.6875 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002166/0.8544, allocations: 14.89 kB / 1.093 GB, free: 1.59 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.0001268/0.8546, allocations: 100.1 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.8548, allocations: 119.6 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8548, allocations: 4.188 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.8548, allocations: 17.25 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.855, allocations: 13.81 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.8553, allocations: 151.6 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.8554, allocations: 0.6789 MB / 1.094 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.8555, allocations: 8.938 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8555, allocations: 0.7812 kB / 1.094 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of Templates: time 0.002762/0.8582, allocations: 0.9003 MB / 1.095 GB, free: 472 kB / 0.8575 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