Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009347/0.009347, allocations: 106.8 kB / 15.74 MB, free: 6.039 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.001914/0.001914, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.673/1.673, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.721/2.721, allocations: 390.2 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.05 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3754, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001918/0.3774, allocations: 0.6631 MB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3784, allocations: 0.8043 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.3785, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.3785, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.229e-05/0.3786, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3788, allocations: 7.984 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.3789, allocations: 23.94 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.379, allocations: 7.984 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.3791, allocations: 15.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.3792, allocations: 11.98 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3792, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.3792, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.3792, allocations: 3.938 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.3793, allocations: 8 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.385e-05/0.3794, allocations: 23.89 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3794, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3794, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3794, allocations: 0 / 1.09 GB, free: 15.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005358/0.3799, allocations: 339.5 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.38, allocations: 12.03 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.38, allocations: 12.72 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3802, allocations: 164.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3802, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3802, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3804, allocations: 50.23 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3804, allocations: 192 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3805, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3805, allocations: 7.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.3806, allocations: 35.95 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.3811, allocations: 244.9 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.3812, allocations: 38.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3813, allocations: 28.89 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3813, allocations: 7.984 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3814, allocations: 30.56 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3814, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.3817, allocations: 85.58 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3818, allocations: 55.53 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.3819, allocations: 97.86 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3819, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.382, allocations: 88.03 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.382, allocations: 4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.382, allocations: 13.72 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3821, allocations: 310.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.3822, allocations: 19.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.3823, allocations: 19.97 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3824, allocations: 36.83 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3824, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.3826, allocations: 77.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3827, allocations: 8.031 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3827, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3827, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.3828, allocations: 11.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3828, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.3828, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3828, allocations: 0 / 1.091 GB, free: 13.84 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 (2): * Single equations (assignments): 2 * 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 9.119e-05/0.3829, allocations: 113.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.383, allocations: 15.98 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.3832, allocations: 68.72 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3832, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3832, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3832, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3834, allocations: 161.6 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3834, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.3835, allocations: 11.92 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3835, allocations: 4.219 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3835, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3835, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3835, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3837, allocations: 159.4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3838, allocations: 88.95 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3838, allocations: 4.031 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3839, allocations: 11.98 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.3839, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3839, allocations: 3.938 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.384, allocations: 83.27 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.384, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002045/0.3842, allocations: 4 kB / 1.092 GB, free: 13.01 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 (2): * Single equations (assignments): 2 * 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.0001627/0.3844, allocations: 103.8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3846, allocations: 39.95 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3846, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.3847, allocations: 15.98 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.385, allocations: 9.656 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.3853, allocations: 117.7 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3855, allocations: 0.6768 MB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.3856, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3856, allocations: 7.438 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.3856, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.002744/0.3883, allocations: 437.5 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches