Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001955/0.001955, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.586/2.586, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 71.89 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8766, allocations: 140.3 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001925/0.8786, allocations: 0.7689 MB / 0.9499 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.8794, allocations: 0.8019 MB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.8794, allocations: 4.969 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.8795, allocations: 0 / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.8796, allocations: 5 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.8797, allocations: 18.09 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.8798, allocations: 41.89 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.8799, allocations: 8.141 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.88, allocations: 21.95 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.88, allocations: 17.23 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.8801, allocations: 3.812 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.8801, allocations: 3.875 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.8801, allocations: 12.95 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.8802, allocations: 23.56 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.8803, allocations: 38.8 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8803, allocations: 1.219 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8803, allocations: 3.938 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8803, allocations: 0 / 0.9508 GB, free: 7.695 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004862/0.8808, allocations: 369.9 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8808, allocations: 9.469 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.8809, allocations: 3.312 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/0.881, allocations: 170.9 kB / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.881, allocations: 5.719 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.881, allocations: 1.719 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.8812, allocations: 71.52 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8813, allocations: 192 / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.8813, allocations: 3.938 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.8813, allocations: 5.406 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.8816, allocations: 66.81 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.8819, allocations: 259.7 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.8821, allocations: 60.06 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.8823, allocations: 43.94 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.8823, allocations: 3.984 kB / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.8823, allocations: 31.81 kB / 0.9519 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.8823, allocations: 0 / 0.9519 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/0.8829, allocations: 138.3 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.883, allocations: 52.47 kB / 0.9521 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.883, allocations: 107.8 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.8831, allocations: 25.7 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.8831, allocations: 89.69 kB / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.8831, allocations: 9.438 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.8832, allocations: 12.16 kB / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.8832, allocations: 320.3 kB / 0.9526 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.8834, allocations: 33.73 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.8835, allocations: 34.38 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.8838, allocations: 74.19 kB / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8838, allocations: 5.25 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003027/0.8841, allocations: 96.28 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8841, allocations: 6.125 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8841, allocations: 0 / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8841, allocations: 3.984 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.8843, allocations: 18.61 kB / 0.9529 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8843, allocations: 1.594 kB / 0.9529 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.484e-05/0.8844, allocations: 9.484 kB / 0.9529 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.8844, allocations: 1.719 kB / 0.9529 GB, free: 5.727 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.146e-05/0.8845, allocations: 119.3 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.8845, allocations: 2.562 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.8849, allocations: 111.8 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.8849, allocations: 5.422 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8849, allocations: 0 / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8849, allocations: 0 / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.8851, allocations: 174.3 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8851, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.8852, allocations: 17.89 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8852, allocations: 0.9062 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.8852, allocations: 4 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.8852, allocations: 5.109 kB / 0.9533 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8852, allocations: 320 / 0.9533 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.8856, allocations: 196.6 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.8856, allocations: 78.3 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.8856, allocations: 9.281 kB / 0.9536 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.8857, allocations: 14.34 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.8858, allocations: 2.516 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.8858, allocations: 5.266 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.8858, allocations: 93.59 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8858, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002216/0.8861, allocations: 6.281 kB / 0.9537 GB, free: 4.922 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001629/0.8862, allocations: 101.6 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.8866, allocations: 67.39 kB / 0.9539 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8866, allocations: 0 / 0.9539 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.8868, allocations: 43.7 kB / 0.9539 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.8872, allocations: 11.78 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.8875, allocations: 132.4 kB / 0.954 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.8877, allocations: 0.6833 MB / 0.9547 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.8878, allocations: 5.797 kB / 0.9547 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.8878, allocations: 13.06 kB / 0.9547 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8878, allocations: 0 / 0.9547 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of Templates: time 0.002997/0.8908, allocations: 0.5665 MB / 0.9553 GB, free: 3.637 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches