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.001706/0.001706, allocations: 102.3 kB / 16.27 MB, free: 5.969 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.001824/0.001824, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.501/1.501, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.528/2.528, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 64.06 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2802, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002105/0.2823, allocations: 0.5933 MB / 0.9509 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2838, allocations: 1.111 MB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.2839, allocations: 0 / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2839, allocations: 0 / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.284, allocations: 7.922 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.2845, allocations: 123.6 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.2847, allocations: 91.89 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.2848, allocations: 8 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.2849, allocations: 35.91 kB / 0.9522 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.285, allocations: 19.97 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.285, allocations: 8 kB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.2851, allocations: 27.92 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.2851, allocations: 11.92 kB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.2852, allocations: 31.91 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.2853, allocations: 71.86 kB / 0.9524 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2853, allocations: 7.984 kB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2853, allocations: 0 / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2853, allocations: 3.938 kB / 0.9524 GB, free: 6.734 MB / 0.7325 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.0004688/0.2858, allocations: 373.3 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.2859, allocations: 12.03 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.2859, allocations: 8.844 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2861, allocations: 168.4 kB / 0.9529 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2861, allocations: 4.375 kB / 0.9529 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2861, allocations: 4.375 kB / 0.9529 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.2862, allocations: 34.25 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2862, allocations: 192 / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2862, allocations: 7.938 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2862, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.2863, allocations: 7.938 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.2866, allocations: 292.9 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.2867, allocations: 22.58 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.2867, allocations: 4.859 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.2867, allocations: 0 / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.2869, allocations: 63.33 kB / 0.9533 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 3.516e-06/0.2869, allocations: 4 kB / 0.9533 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001774/0.2871, allocations: 65.59 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.2871, allocations: 51.41 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.2872, allocations: 109.8 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2873, allocations: 29.7 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.2873, allocations: 84.14 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.2873, allocations: 3.906 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.2874, allocations: 33.69 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2875, allocations: 326.8 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.2876, allocations: 23.98 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.2877, allocations: 46.56 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2878, allocations: 80.27 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2878, allocations: 4.25 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002463/0.2881, allocations: 143.6 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.2881, allocations: 37.69 kB / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2881, allocations: 7.922 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2881, allocations: 8 kB / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.53e-05/0.2882, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2882, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2884, allocations: 31.91 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.2884, allocations: 11.92 kB / 0.9544 GB, free: 4.402 MB / 0.7325 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.226e-05/0.2885, allocations: 121.8 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2885, allocations: 7.906 kB / 0.9545 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.2886, allocations: 7.844 kB / 0.9545 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2886, allocations: 4 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.2886, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2886, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2887, allocations: 161.6 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2887, allocations: 0 / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/0.2888, allocations: 0 / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2888, allocations: 4 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2888, allocations: 4 kB / 0.9547 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2888, allocations: 0 / 0.9547 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2888, allocations: 0 / 0.9547 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.2889, allocations: 88.98 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.2889, allocations: 81.02 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.289, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.289, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.289, allocations: 4 kB / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.289, allocations: 11.98 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.2891, allocations: 79.28 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2891, allocations: 0 / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002156/0.2893, allocations: 16 kB / 0.955 GB, free: 3.719 MB / 0.7325 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.0001573/0.2895, allocations: 111.2 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2897, allocations: 115.3 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2897, allocations: 4 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.2897, allocations: 16.19 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.2899, allocations: 11.92 kB / 0.9552 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.2902, allocations: 143.9 kB / 0.9553 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2905, allocations: 0.6844 MB / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.2905, allocations: 11.44 kB / 0.956 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.2905, allocations: 0 / 0.956 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of Templates: time 0.002317/0.2929, allocations: 0.8923 MB / 0.9569 GB, free: 1.664 MB / 0.7325 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