Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001857/0.001858, allocations: 197.3 kB / 16.14 MB, free: 6.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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.514/2.514, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7673, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00212/0.7695, allocations: 0.8332 MB / 0.9497 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.7707, allocations: 0.8613 MB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.7708, allocations: 0.9688 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/0.7709, allocations: 11.88 kB / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.771, allocations: 4.938 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.7712, allocations: 40.02 kB / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.7714, allocations: 78.45 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.7715, allocations: 24.34 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.7716, allocations: 37.72 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.7717, allocations: 48.88 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.7718, allocations: 5.156 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.7718, allocations: 5.125 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.7718, allocations: 18.42 kB / 0.9508 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.7719, allocations: 30.05 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.772, allocations: 83.19 kB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.772, allocations: 3.938 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.772, allocations: 0 / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.772, allocations: 0 / 0.951 GB, free: 7.527 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006113/0.7726, allocations: 401 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7727, allocations: 9.469 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.7728, allocations: 9.375 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7729, allocations: 176.9 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.7729, allocations: 3.125 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.7729, allocations: 7.594 kB / 0.9515 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.7733, allocations: 113.1 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7733, allocations: 0 / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.7733, allocations: 1.844 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7733, allocations: 1.844 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.7737, allocations: 98 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.7742, allocations: 347.5 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.7749, allocations: 122.5 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.775, allocations: 54.84 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.7751, allocations: 5.266 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.7751, allocations: 36.22 kB / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.7751, allocations: 0 / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000657/0.7758, allocations: 184.8 kB / 0.9525 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.7758, allocations: 51.41 kB / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.7759, allocations: 121.8 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.7759, allocations: 25.7 kB / 0.9526 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.776, allocations: 103.7 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.776, allocations: 17.94 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.7761, allocations: 24.33 kB / 0.9528 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.7761, allocations: 332.8 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.7763, allocations: 48.33 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.7765, allocations: 48.3 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.7768, allocations: 101.7 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7768, allocations: 1.406 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003997/0.7772, allocations: 139.9 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7773, allocations: 7.125 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7773, allocations: 0 / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7773, allocations: 0 / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.7775, allocations: 25.12 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7775, allocations: 4 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.7776, allocations: 18.91 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.7776, allocations: 1.781 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.765e-05/0.7777, allocations: 118.4 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.7777, allocations: 6.094 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.7782, allocations: 152 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7782, allocations: 5.016 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7782, allocations: 0 / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7783, allocations: 9.094 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.7784, allocations: 195.6 kB / 0.9539 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7784, allocations: 0 / 0.9539 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.7786, allocations: 24.59 kB / 0.954 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7786, allocations: 3.984 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.7786, allocations: 9.484 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.7786, allocations: 1.25 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7786, allocations: 0 / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.7791, allocations: 239 kB / 0.9542 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.7791, allocations: 79.67 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.7791, allocations: 5.031 kB / 0.9543 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.7793, allocations: 10.7 kB / 0.9543 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.7794, allocations: 26.47 kB / 0.9543 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.7794, allocations: 9.922 kB / 0.9543 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.7794, allocations: 94.61 kB / 0.9544 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7794, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002442/0.7797, allocations: 23.59 kB / 0.9544 GB, free: 4.387 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 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001175/0.7798, allocations: 100.6 kB / 0.9545 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.7802, allocations: 105.3 kB / 0.9546 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.7803, allocations: 1.375 kB / 0.9546 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.7805, allocations: 62.31 kB / 0.9547 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.7809, allocations: 12.75 kB / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.7813, allocations: 195.6 kB / 0.9549 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.7815, allocations: 0.6936 MB / 0.9556 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.319e-05/0.7815, allocations: 6.906 kB / 0.9556 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.7816, allocations: 16.8 kB / 0.9556 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.7816, allocations: 4 kB / 0.9556 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.003736/0.7854, allocations: 1.349 MB / 0.9569 GB, free: 2.629 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches