Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00204/0.00204, allocations: 189.1 kB / 16.25 MB, free: 6.637 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.52/1.52, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.504/2.504, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 71.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8625, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002233/0.8647, allocations: 0.7661 MB / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.8658, allocations: 0.8008 MB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.8658, allocations: 5.344 kB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.8659, allocations: 3.938 kB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.866, allocations: 4.969 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.8661, allocations: 13.7 kB / 0.9507 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.8662, allocations: 37.33 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.8663, allocations: 13.48 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.8664, allocations: 17.42 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.8665, allocations: 25.36 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.8665, allocations: 7.953 kB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.8665, allocations: 4.125 kB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.8665, allocations: 11.92 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.8666, allocations: 12.06 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.8667, allocations: 34.75 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.8667, allocations: 1.375 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8668, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.8668, allocations: 0 / 0.9508 GB, free: 7.809 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.0006788/0.8675, allocations: 376.6 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.8675, allocations: 9.625 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.8676, allocations: 3.688 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.8677, allocations: 178.9 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.8677, allocations: 384 / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.8678, allocations: 3.125 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.8681, allocations: 70.83 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.8681, allocations: 192 / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.8681, allocations: 13.25 kB / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8681, allocations: 0 / 0.9515 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.8684, allocations: 59.69 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.8688, allocations: 270.6 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.8691, allocations: 64.47 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.8692, allocations: 36.17 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.8693, allocations: 3.984 kB / 0.9519 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.8693, allocations: 31.94 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.8693, allocations: 4 kB / 0.9519 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005526/0.8699, allocations: 130.5 kB / 0.952 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.8699, allocations: 51.41 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.87, allocations: 108.5 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.87, allocations: 25.7 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.8701, allocations: 94 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.8701, allocations: 8.875 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.8702, allocations: 16.78 kB / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8703, allocations: 312 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.8705, allocations: 32.98 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.8706, allocations: 33.88 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.8709, allocations: 68.66 kB / 0.9527 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8709, allocations: 3.938 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000303/0.8712, allocations: 100.5 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.8712, allocations: 9.812 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8713, allocations: 0 / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.8713, allocations: 3.984 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.8714, allocations: 18.7 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.8714, allocations: 1.688 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.8715, allocations: 9.672 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.8715, allocations: 1.25 kB / 0.9529 GB, free: 5.828 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 6.723e-05/0.8716, allocations: 116.6 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.8716, allocations: 1.625 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.872, allocations: 111.9 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.872, allocations: 5.328 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.872, allocations: 0 / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.8721, allocations: 1.344 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.8722, allocations: 168.1 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8722, allocations: 9.312 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.8723, allocations: 17.42 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8723, allocations: 1.406 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.8723, allocations: 0 / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8723, allocations: 9.359 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8724, allocations: 0 / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.8727, allocations: 199.8 kB / 0.9535 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.8727, allocations: 78.17 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.8727, allocations: 5.188 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.8728, allocations: 14.88 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.8729, allocations: 5.281 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.8729, allocations: 1.312 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.8729, allocations: 85.61 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8729, allocations: 4 kB / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002342/0.8732, allocations: 10.31 kB / 0.9537 GB, free: 5.023 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.0001686/0.8734, allocations: 98.5 kB / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.8737, allocations: 66.17 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.8737, allocations: 4 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.8739, allocations: 41.05 kB / 0.9539 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.8742, allocations: 14.41 kB / 0.9539 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.8745, allocations: 127.6 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.8747, allocations: 0.688 MB / 0.9547 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.8748, allocations: 5.172 kB / 0.9547 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.8748, allocations: 9.625 kB / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/0.8748, allocations: 0 / 0.9547 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.003183/0.878, allocations: 0.5692 MB / 0.9553 GB, free: 3.742 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches