Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001548/0.001548, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.647/2.647, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 74.56 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3692, allocations: 159.2 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002508/0.3717, allocations: 1.27 MB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.372, allocations: 51.83 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.372, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.3721, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3722, allocations: 11.92 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3724, allocations: 15.98 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.3724, allocations: 11.94 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3725, allocations: 3.984 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.3725, allocations: 4 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.3726, allocations: 29.42 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3726, allocations: 0 / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-05/0.3727, allocations: 7.984 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.3728, allocations: 44.45 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3729, allocations: 39.69 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.748e-05/0.373, allocations: 48.11 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.373, allocations: 4 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.373, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.373, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004867/0.3735, allocations: 430.8 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3735, allocations: 8.031 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.3736, allocations: 92.03 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3738, allocations: 266.8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.3739, allocations: 158.5 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.374, allocations: 150.6 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.3741, allocations: 109 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.3741, allocations: 75.28 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.3742, allocations: 150.6 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/0.3743, allocations: 150.6 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.3743, allocations: 150.6 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.3747, allocations: 0.4977 MB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.3748, allocations: 165.1 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.3749, allocations: 84.14 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3749, allocations: 79.28 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.3749, allocations: 109.8 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.375, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.976e-05/0.375, allocations: 45.44 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.3751, allocations: 126.7 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.3754, allocations: 231 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3754, allocations: 25.7 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.3755, allocations: 112 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.3755, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.3756, allocations: 41.64 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3757, allocations: 334.8 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.3758, allocations: 55.95 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.3759, allocations: 55.95 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3761, allocations: 134.7 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3761, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003039/0.3764, allocations: 176.2 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3764, allocations: 4 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3764, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3764, allocations: 64 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3765, allocations: 4 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.3765, allocations: 7.969 kB / 1.07 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.3765, allocations: 19.69 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3765, allocations: 7.938 kB / 1.07 GB, free: 9.363 MB / 0.8419 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001576/0.3767, allocations: 205.1 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/0.3768, allocations: 112.8 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.3769, allocations: 113.5 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-05/0.377, allocations: 184.2 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-05/0.377, allocations: 192.2 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.426e-05/0.3771, allocations: 176.3 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3774, allocations: 433.1 kB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/0.3775, allocations: 108.9 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.3775, allocations: 109 kB / 1.071 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.362e-05/0.3776, allocations: 184.2 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/0.3777, allocations: 180.3 kB / 1.071 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.312e-05/0.3778, allocations: 184.3 kB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-05/0.3779, allocations: 180.2 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.378, allocations: 319.8 kB / 1.072 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.3781, allocations: 197.9 kB / 1.072 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.3782, allocations: 176.3 kB / 1.072 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.3783, allocations: 108.9 kB / 1.073 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.3784, allocations: 176.3 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.3785, allocations: 112.9 kB / 1.073 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001404/0.3786, allocations: 159.1 kB / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 1.073 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002344/0.3788, allocations: 16 kB / 1.073 GB, free: 5.59 MB / 0.8419 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 (0): * Single equations (assignments): 0 * 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.0001792/0.379, allocations: 182.5 kB / 1.073 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.3792, allocations: 79.95 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3792, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3792, allocations: 4.062 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3796, allocations: 459.6 kB / 1.074 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.3801, allocations: 351.9 kB / 1.074 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3805, allocations: 0.708 MB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.3805, allocations: 11.44 kB / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3805, allocations: 0 / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of Templates: time 0.002897/0.3834, allocations: 1.122 MB / 1.076 GB, free: 2.617 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches