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.001754/0.001754, allocations: 100.1 kB / 15.88 MB, free: 12 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.002248/0.002248, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.704/2.704, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6261, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001886/0.6281, allocations: 0.652 MB / 0.9502 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.6293, allocations: 1.121 MB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.6294, allocations: 1.375 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.6294, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.6295, allocations: 11.91 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.6299, allocations: 109.9 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.63, allocations: 78.2 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.6301, allocations: 8.125 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.6301, allocations: 27.52 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.6302, allocations: 27.77 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.6302, allocations: 3.969 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.6303, allocations: 15.48 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.6303, allocations: 13.08 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.6304, allocations: 21.73 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.398e-05/0.6305, allocations: 61.22 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.6305, allocations: 0 / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6305, allocations: 1.438 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6305, allocations: 0 / 0.9517 GB, free: 7.574 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.0003623/0.6308, allocations: 373.9 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6309, allocations: 9.469 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.6309, allocations: 4.812 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.668e-05/0.631, allocations: 177.5 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.631, allocations: 3.062 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.631, allocations: 8.688 kB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/0.6311, allocations: 39.58 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6311, allocations: 192 / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6312, allocations: 13.53 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.6312, allocations: 0 / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.6312, allocations: 2.844 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.6315, allocations: 282.3 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.6315, allocations: 30.2 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.6315, allocations: 6.172 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.6316, allocations: 1.25 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.6317, allocations: 59.14 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6317, allocations: 0 / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001579/0.6319, allocations: 70.98 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.6319, allocations: 52.75 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.632, allocations: 116.6 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.632, allocations: 28.2 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.632, allocations: 82.67 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.632, allocations: 9.156 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.6321, allocations: 29.42 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.6321, allocations: 312.2 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.6322, allocations: 28.05 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.6323, allocations: 55.02 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.6324, allocations: 87.72 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6324, allocations: 3.938 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002176/0.6326, allocations: 142.8 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6326, allocations: 37.36 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6327, allocations: 0 / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6327, allocations: 5.312 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.551e-05/0.6327, allocations: 5.234 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6327, allocations: 1.094 kB / 0.9537 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.6329, allocations: 24.84 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.6329, allocations: 4.688 kB / 0.9537 GB, free: 5.508 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 5.969e-05/0.633, allocations: 118.6 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.633, allocations: 13.39 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.6331, allocations: 9.5 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.6331, allocations: 0 / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6331, allocations: 0 / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6331, allocations: 1.219 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.603e-05/0.6331, allocations: 159.6 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6332, allocations: 0 / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-06/0.6332, allocations: 3.984 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6332, allocations: 5.938 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6332, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6332, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6332, allocations: 1.625 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.6333, allocations: 85.91 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.6333, allocations: 79.27 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.6333, allocations: 3.984 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.6333, allocations: 5.406 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.6334, allocations: 1.656 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6334, allocations: 1.844 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.38e-05/0.6334, allocations: 87.09 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6334, allocations: 5.531 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002054/0.6336, allocations: 21.45 kB / 0.9543 GB, free: 4.871 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.0001097/0.6337, allocations: 98.88 kB / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.6339, allocations: 114.3 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6339, allocations: 0 / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.634, allocations: 23.8 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.6342, allocations: 14.94 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.6344, allocations: 156.5 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.867e-05/0.6345, allocations: 0.6784 MB / 0.9553 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.6345, allocations: 9.531 kB / 0.9553 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6345, allocations: 0 / 0.9553 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.002108/0.6367, allocations: 0.8922 MB / 0.9562 GB, free: 3.344 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