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.001146/0.001146, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.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.464/2.464, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.6763, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001765/0.6781, allocations: 0.7608 MB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.6789, allocations: 0.8042 MB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.6789, allocations: 1.375 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.679, allocations: 0 / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.679, allocations: 5.312 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.953e-05/0.6791, allocations: 13.36 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.6792, allocations: 41.8 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.6793, allocations: 12.11 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.6794, allocations: 13.44 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.6794, allocations: 25.39 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.6795, allocations: 2.75 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.6795, allocations: 6.688 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.6795, allocations: 5.312 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.6795, allocations: 18.67 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.663e-05/0.6796, allocations: 26.77 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6796, allocations: 7.984 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.22e-07/0.6796, allocations: 0 / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6796, allocations: 0 / 0.9513 GB, free: 7.812 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.0004292/0.68, allocations: 364.6 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.6801, allocations: 9.625 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.6801, allocations: 3.688 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.351e-05/0.6802, allocations: 167 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.6802, allocations: 8.375 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.6802, allocations: 3.125 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.6805, allocations: 74.83 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6805, allocations: 192 / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6805, allocations: 5.312 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6805, allocations: 0 / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.6808, allocations: 71.61 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.6811, allocations: 263 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.6813, allocations: 61.17 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.6815, allocations: 42.47 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6815, allocations: 1.25 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.6815, allocations: 39.62 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6815, allocations: 0 / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.6821, allocations: 134 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.6821, allocations: 51.41 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.6821, allocations: 108 kB / 0.9527 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.6822, allocations: 26.95 kB / 0.9527 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.6822, allocations: 85.39 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.6822, allocations: 9.094 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.6822, allocations: 16.19 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.671e-05/0.6823, allocations: 320.4 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.6824, allocations: 29.75 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.6826, allocations: 32.89 kB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.6828, allocations: 72.03 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6829, allocations: 7.938 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003072/0.6832, allocations: 102.9 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6832, allocations: 3.594 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6832, allocations: 1.625 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6832, allocations: 0 / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6833, allocations: 14.61 kB / 0.9533 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.6834, allocations: 4 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.6834, allocations: 11.2 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.6835, allocations: 1.312 kB / 0.9534 GB, free: 5.844 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 4.844e-05/0.6835, allocations: 119.2 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.6835, allocations: 6.406 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.6839, allocations: 112.4 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6839, allocations: 0 / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6839, allocations: 2.094 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.6839, allocations: 0 / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.684, allocations: 168.2 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.684, allocations: 0 / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6842, allocations: 19.22 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6842, allocations: 0 / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.6842, allocations: 1.219 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6842, allocations: 7.938 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6842, allocations: 0 / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.6845, allocations: 204.4 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.6846, allocations: 78.52 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.6846, allocations: 5.422 kB / 0.954 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.6847, allocations: 15.05 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.6847, allocations: 1.5 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.6847, allocations: 1.375 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.782e-05/0.6848, allocations: 89.05 kB / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6848, allocations: 0 / 0.9542 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002271/0.685, allocations: 6.5 kB / 0.9542 GB, free: 5.047 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.000107/0.6851, allocations: 97.47 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.6855, allocations: 70.61 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6855, allocations: 3.938 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.6856, allocations: 36.64 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.686, allocations: 12.22 kB / 0.9544 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.6863, allocations: 164.1 kB / 0.9545 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.575e-05/0.6863, allocations: 0.6792 MB / 0.9552 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.6864, allocations: 9.656 kB / 0.9552 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of SimCode: time 8.72e-07/0.6864, allocations: 0 / 0.9552 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.001961/0.6884, allocations: 0.7432 MB / 0.9559 GB, free: 3.652 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/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