Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001312/0.001312, allocations: 120.3 kB / 16.81 MB, free: 5.758 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.001253/0.001253, allocations: 192.7 kB / 17.77 MB, free: 5.121 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.562/1.562, allocations: 225.6 MB / 244.2 MB, free: 13.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.34 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001914/0.3835, allocations: 0.5918 MB / 1.263 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.385, allocations: 1.12 MB / 1.264 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.385, allocations: 0 / 1.264 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.385, allocations: 0 / 1.264 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.3851, allocations: 11.94 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.3856, allocations: 119.2 kB / 1.264 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3858, allocations: 83.88 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.3858, allocations: 4 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.3859, allocations: 43.91 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.386, allocations: 31.89 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.386, allocations: 8 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.3861, allocations: 15.98 kB / 1.264 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3861, allocations: 11.98 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.3862, allocations: 27.91 kB / 1.264 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3864, allocations: 83.73 kB / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3864, allocations: 0 / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3864, allocations: 0 / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3864, allocations: 0 / 1.264 GB, free: 10.85 MB / 0.9825 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.0004845/0.3869, allocations: 377.1 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3869, allocations: 8.031 kB / 1.265 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.3869, allocations: 12.89 kB / 1.265 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3871, allocations: 168.4 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3871, allocations: 384 / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3871, allocations: 8.375 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.598e-05/0.3872, allocations: 38.19 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3872, allocations: 4.125 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3872, allocations: 7.938 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3872, allocations: 4 kB / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.3873, allocations: 4 kB / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.3877, allocations: 284.8 kB / 1.265 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.752e-05/0.3877, allocations: 26.45 kB / 1.265 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.3877, allocations: 8.844 kB / 1.265 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.3878, allocations: 4.062 kB / 1.265 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.3879, allocations: 59.36 kB / 1.265 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3879, allocations: 0 / 1.265 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/0.3881, allocations: 69.61 kB / 1.265 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3881, allocations: 51.41 kB / 1.265 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.3882, allocations: 109.8 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.3883, allocations: 29.7 kB / 1.265 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.3883, allocations: 80.14 kB / 1.265 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.3883, allocations: 11.95 kB / 1.265 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.3884, allocations: 33.7 kB / 1.265 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3885, allocations: 314.8 kB / 1.266 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.3886, allocations: 27.98 kB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.3887, allocations: 46.88 kB / 1.266 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3888, allocations: 88.2 kB / 1.266 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3888, allocations: 0 / 1.266 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002623/0.3891, allocations: 155.4 kB / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.3891, allocations: 43.56 kB / 1.266 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3891, allocations: 0 / 1.266 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3891, allocations: 3.984 kB / 1.266 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/0.3891, allocations: 4 kB / 1.266 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3891, allocations: 0 / 1.266 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3893, allocations: 28.06 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3894, allocations: 4 kB / 1.266 GB, free: 8.508 MB / 0.9825 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 0.0001071/0.3895, allocations: 122.5 kB / 1.266 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.3895, allocations: 7.984 kB / 1.266 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.3895, allocations: 3.906 kB / 1.266 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3895, allocations: 0 / 1.266 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3895, allocations: 0 / 1.266 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.3896, allocations: 85.06 kB / 1.266 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3896, allocations: 3.938 kB / 1.266 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.3896, allocations: 4 kB / 1.266 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.3896, allocations: 11.86 kB / 1.266 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000151/0.3898, allocations: 129 kB / 1.267 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001587/0.3899, allocations: 218.8 kB / 1.267 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.755e-05/0.39, allocations: 19.92 kB / 1.267 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.39, allocations: 79.28 kB / 1.267 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of Backend: time 2.5e-07/0.39, allocations: 0 / 1.267 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.3905, allocations: 178.9 kB / 1.267 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005488/0.391, allocations: 0.577 MB / 1.268 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.003774/0.3948, allocations: 1.102 MB / 1.269 GB, free: 5.871 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches