Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 108.9 kB / 16.41 MB, free: 6.473 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.001161/0.001161, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001551, allocations: 63.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9958/0.9974, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002184/0.9996, allocations: 0.6718 MB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001236/1.001, allocations: 0.8414 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/1.001, allocations: 4 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/1.001, allocations: 0 / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/1.001, allocations: 7.938 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/1.001, allocations: 19.92 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.67e-05/1.001, allocations: 31.97 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/1.002, allocations: 7.984 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/1.002, allocations: 15.88 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/1.002, allocations: 15.92 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/1.002, allocations: 7.938 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/1.002, allocations: 8 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/1.002, allocations: 7.984 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/1.002, allocations: 11.94 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/1.002, allocations: 31.88 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.002, allocations: 3.984 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.735e-06/1.002, allocations: 0 / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.002, allocations: 0 / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000622/1.003, allocations: 359.9 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.003, allocations: 12.92 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/1.003, allocations: 4.938 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/1.003, allocations: 160.4 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/1.003, allocations: 4.375 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/1.003, allocations: 4.375 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/1.003, allocations: 62.2 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.003, allocations: 8.125 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.003, allocations: 3.938 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.003, allocations: 0 / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/1.004, allocations: 51.94 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/1.004, allocations: 272.9 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/1.004, allocations: 66.45 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/1.004, allocations: 32.89 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/1.004, allocations: 0 / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/1.004, allocations: 38.5 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.004, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004996/1.005, allocations: 117.6 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.005, allocations: 51.41 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/1.005, allocations: 101.9 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.005, allocations: 25.7 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/1.005, allocations: 92.06 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/1.005, allocations: 8.078 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/1.005, allocations: 17.72 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.005, allocations: 314.8 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/1.005, allocations: 32.83 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.006, allocations: 49.61 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/1.006, allocations: 60.8 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.006, allocations: 0 / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003099/1.006, allocations: 89.67 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.006, allocations: 4 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.006, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.006, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/1.006, allocations: 15.98 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.006, allocations: 7.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/1.007, allocations: 19.92 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/1.007, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001284/1.007, allocations: 104.1 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.314e-05/1.007, allocations: 25.7 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001442/1.007, allocations: 40.81 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/1.007, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002005/1.007, allocations: 73.7 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.007, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/1.007, allocations: 3.984 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/1.007, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/1.007, allocations: 8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/1.007, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/1.007, allocations: 11.92 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/1.007, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001072/1.007, allocations: 184.2 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/1.007, allocations: 7.922 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/1.008, allocations: 7.531 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.008, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.008, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/1.008, allocations: 85.06 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.008, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.008, allocations: 11.98 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/1.008, allocations: 3.938 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003834/1.008, allocations: 181.1 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003554/1.008, allocations: 262.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001268/1.009, allocations: 23.97 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.441e-05/1.009, allocations: 87.28 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of Backend: time 2.61e-07/1.009, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005892/1.009, allocations: 137 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005945/1.01, allocations: 0.5531 MB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.0034/1.013, allocations: 0.7474 MB / 1.173 GB, free: 13.2 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches