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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001766/0.001766, allocations: 116.4 kB / 16.37 MB, free: 6.012 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.001831/0.001831, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.23 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.391, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002287/0.3933, allocations: 0.6996 MB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3944, allocations: 0.81 MB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.3945, allocations: 0 / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.3945, allocations: 7.922 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.3946, allocations: 3.938 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3947, allocations: 15.98 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.3948, allocations: 47.86 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3949, allocations: 7.984 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.395, allocations: 23.92 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.3951, allocations: 23.84 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.3951, allocations: 4 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.3951, allocations: 4 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.3952, allocations: 7.984 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.3952, allocations: 19.88 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.3953, allocations: 39.88 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3953, allocations: 0 / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3953, allocations: 0 / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3953, allocations: 0 / 0.9528 GB, free: 6.312 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006257/0.396, allocations: 363.3 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.396, allocations: 8.031 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.3961, allocations: 4.938 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3962, allocations: 176.2 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3962, allocations: 8.375 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3962, allocations: 384 / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3965, allocations: 82.14 kB / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3965, allocations: 192 / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3965, allocations: 3.938 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3965, allocations: 0 / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.3968, allocations: 67.92 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3972, allocations: 253 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3974, allocations: 66.41 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3976, allocations: 40.92 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.3976, allocations: 7.969 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3976, allocations: 38.5 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3976, allocations: 0 / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005008/0.3982, allocations: 129.5 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3982, allocations: 51.41 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3983, allocations: 113.8 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3983, allocations: 29.64 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.3984, allocations: 88.12 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3984, allocations: 7.906 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3985, allocations: 17.66 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3986, allocations: 314.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3988, allocations: 35.95 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3989, allocations: 27.97 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.3991, allocations: 68.78 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3992, allocations: 7.938 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002885/0.3994, allocations: 97.53 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3995, allocations: 8 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3995, allocations: 3.984 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3995, allocations: 0 / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3996, allocations: 15.92 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3997, allocations: 0 / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.3997, allocations: 15.98 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3998, allocations: 0 / 0.9549 GB, free: 3.977 MB / 0.7325 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 0.0001123/0.3999, allocations: 117.8 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3999, allocations: 0 / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.4003, allocations: 113.5 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4003, allocations: 0 / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4003, allocations: 0 / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4003, allocations: 4 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.4005, allocations: 173.5 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4005, allocations: 0 / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.4006, allocations: 15.92 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4006, allocations: 0 / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4006, allocations: 3.984 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4006, allocations: 4 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4006, allocations: 4 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.4009, allocations: 191.4 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.401, allocations: 81.05 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.401, allocations: 4.422 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4011, allocations: 19.97 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.4012, allocations: 4 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4012, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.4013, allocations: 87.27 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4013, allocations: 7.938 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00022/0.4015, allocations: 7.906 kB / 0.9557 GB, free: 3.051 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: 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.0001643/0.4017, allocations: 103.2 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.402, allocations: 75.84 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.402, allocations: 4 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4021, allocations: 39.95 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4025, allocations: 7.938 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.4028, allocations: 121.6 kB / 0.956 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4031, allocations: 0.6844 MB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.4032, allocations: 3.984 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.4032, allocations: 11.44 kB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.4032, allocations: 3.938 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.00297/0.4062, allocations: 0.6829 MB / 0.9574 GB, free: 1.27 MB / 0.7325 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 -s cvode -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/jenkins1/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