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.00605/0.00605, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001507/0.001507, allocations: 195 kB / 16.67 MB, free: 6.379 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.868/2.868, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.41 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001886/0.3723, allocations: 0.702 MB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.3733, allocations: 0.816 MB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.3733, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.3734, allocations: 3.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.3734, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.3736, allocations: 11.98 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.3736, allocations: 47.84 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3738, allocations: 8 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.3739, allocations: 23.92 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.3739, allocations: 23.84 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3739, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.374, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.374, allocations: 7.984 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.374, allocations: 19.92 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3741, allocations: 39.81 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3741, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3742, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.3742, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 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.0006048/0.3748, allocations: 365.3 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3748, allocations: 12.03 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3749, allocations: 4.844 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.375, allocations: 176.3 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.375, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.375, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.3753, allocations: 74.16 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3753, allocations: 4.188 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3754, allocations: 3.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3754, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.3757, allocations: 63.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.3761, allocations: 272.8 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3763, allocations: 62.47 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3765, allocations: 40.86 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3765, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3765, allocations: 34.56 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3765, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/0.3771, allocations: 125.8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3772, allocations: 51.41 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3773, allocations: 109.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3773, allocations: 25.7 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.3774, allocations: 88.14 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3774, allocations: 15.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.3775, allocations: 13.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3776, allocations: 314.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3779, allocations: 39.89 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3781, allocations: 43.89 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3783, allocations: 64.78 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3783, allocations: 3.938 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003166/0.3787, allocations: 97.62 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3787, allocations: 8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3787, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3787, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3789, allocations: 15.97 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3789, allocations: 7.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.379, allocations: 7.984 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.379, allocations: 8 kB / 1.092 GB, free: 13.39 MB / 0.8575 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 8.282e-05/0.3791, allocations: 113.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3791, allocations: 7.906 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.3795, allocations: 101.5 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3795, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3795, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3795, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3797, allocations: 177.5 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3797, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.3798, allocations: 11.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3798, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3798, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3798, allocations: 3.938 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3798, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.3802, allocations: 199.4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.3802, allocations: 81.02 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3802, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3804, allocations: 11.92 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3804, allocations: 7.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3804, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.3805, allocations: 87.28 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3805, allocations: 4 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002232/0.3807, allocations: 4 kB / 1.093 GB, free: 12.47 MB / 0.8575 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.0001426/0.3809, allocations: 103.8 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3812, allocations: 75.86 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3812, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3814, allocations: 39.91 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3817, allocations: 13.91 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3821, allocations: 121.6 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3823, allocations: 0.6807 MB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.3824, allocations: 8 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.3824, allocations: 7.438 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3824, allocations: 0 / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of Templates: time 0.003032/0.3854, allocations: 0.6882 MB / 1.094 GB, free: 10.69 MB / 0.8575 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