Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001087/0.001087, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001094/0.001094, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.286/2.286, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 65.62 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3756, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003649/0.3793, allocations: 1.213 MB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000339/0.3797, allocations: 47.83 kB / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.3798, allocations: 0 / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.3798, allocations: 7.938 kB / 0.9515 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3801, allocations: 15.92 kB / 0.9515 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3803, allocations: 11.98 kB / 0.9515 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.3804, allocations: 15.92 kB / 0.9515 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.3805, allocations: 0 / 0.9515 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.3806, allocations: 15.98 kB / 0.9516 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3807, allocations: 8.734 kB / 0.9516 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3807, allocations: 0 / 0.9516 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.3808, allocations: 4 kB / 0.9516 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3809, allocations: 52.44 kB / 0.9516 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.704e-05/0.381, allocations: 39.69 kB / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3812, allocations: 71.88 kB / 0.9517 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3812, allocations: 7.938 kB / 0.9517 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3812, allocations: 0 / 0.9517 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.557e-06/0.3812, allocations: 0 / 0.9517 GB, free: 7.336 MB / 0.7325 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.0006728/0.3819, allocations: 430.7 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.382, allocations: 8.031 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3821, allocations: 84.12 kB / 0.9522 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3824, allocations: 275.3 kB / 0.9525 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.3825, allocations: 154.7 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.3826, allocations: 150.6 kB / 0.9528 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.3827, allocations: 101 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.3827, allocations: 75.28 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.3828, allocations: 158.6 kB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/0.3829, allocations: 150.6 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.383, allocations: 158.5 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.3834, allocations: 0.492 MB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.3835, allocations: 173.1 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.3836, allocations: 84.14 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.3837, allocations: 75.28 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/0.3837, allocations: 105.8 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.3838, allocations: 3.938 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001348/0.3839, allocations: 41.45 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.384, allocations: 126.7 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.3843, allocations: 231.1 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3844, allocations: 25.7 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.3845, allocations: 108 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.3845, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.3846, allocations: 41.69 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3847, allocations: 322.8 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3848, allocations: 59.91 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.889e-05/0.3849, allocations: 57.27 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.3851, allocations: 143.2 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3851, allocations: 0 / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000391/0.3855, allocations: 177.3 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3856, allocations: 4 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3856, allocations: 4 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3856, allocations: 0 / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.3856, allocations: 0 / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3856, allocations: 0 / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.3857, allocations: 19.69 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3857, allocations: 8 kB / 0.9556 GB, free: 3.133 MB / 0.7325 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.0001603/0.3859, allocations: 209.1 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.386, allocations: 108.9 kB / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.3861, allocations: 129.2 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/0.3862, allocations: 176.3 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-05/0.3862, allocations: 184.2 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.522e-05/0.3863, allocations: 180.3 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.3867, allocations: 441.1 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/0.3867, allocations: 105 kB / 0.9571 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3868, allocations: 105 kB / 0.9572 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.481e-05/0.3868, allocations: 184.2 kB / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.3869, allocations: 180.3 kB / 0.9575 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.066e-05/0.387, allocations: 188.2 kB / 0.9577 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.334e-05/0.3871, allocations: 176.3 kB / 0.9579 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.3873, allocations: 319.8 kB / 0.9582 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3874, allocations: 193.9 kB / 0.9584 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3875, allocations: 192.2 kB / 0.9585 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.3876, allocations: 101 kB / 0.9586 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.3877, allocations: 176.3 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.3877, allocations: 116.9 kB / 0.9589 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001434/0.3879, allocations: 164.5 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3879, allocations: 0 / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003091/0.3882, allocations: 16 kB / 0.9591 GB, free: 15.34 MB / 0.7481 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.0002257/0.3885, allocations: 186.5 kB / 0.9593 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3886, allocations: 79.89 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3886, allocations: 0 / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.3886, allocations: 0 / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3891, allocations: 463.7 kB / 0.9598 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.3897, allocations: 328 kB / 0.9601 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3901, allocations: 0.7117 MB / 0.9608 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.3901, allocations: 15.42 kB / 0.9608 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.3901, allocations: 0 / 0.9608 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of Templates: time 0.00371/0.3938, allocations: 1.114 MB / 0.9619 GB, free: 12.39 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches