Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001551/0.001552, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.38 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3455, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002116/0.3477, allocations: 0.6608 MB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3487, allocations: 0.8606 MB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.3487, allocations: 0 / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.3488, allocations: 4 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.3489, allocations: 3.938 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.349, allocations: 11.98 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.3491, allocations: 23.92 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3492, allocations: 7.984 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.3493, allocations: 8 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.3494, allocations: 11.92 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3494, allocations: 4 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.3494, allocations: 4 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3494, allocations: 4 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.3495, allocations: 11.92 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.154e-05/0.3496, allocations: 23.84 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3496, allocations: 0 / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3496, allocations: 0 / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.3496, allocations: 4 kB / 0.9527 GB, free: 6.367 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005377/0.3502, allocations: 335.5 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3502, allocations: 8.031 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.3502, allocations: 0.9375 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3504, allocations: 180.2 kB / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3504, allocations: 384 / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3504, allocations: 384 / 0.9532 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.3506, allocations: 50.23 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3506, allocations: 192 / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3506, allocations: 3.938 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3507, allocations: 4 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3508, allocations: 35.89 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.3512, allocations: 244.9 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3513, allocations: 42.53 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.3514, allocations: 24.91 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3514, allocations: 0 / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3514, allocations: 34.56 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3514, allocations: 0 / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003406/0.3518, allocations: 85.58 kB / 0.9537 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3518, allocations: 51.41 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.3519, allocations: 109.8 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3519, allocations: 25.83 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.352, allocations: 92.08 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.352, allocations: 3.906 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.3521, allocations: 17.72 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3522, allocations: 310.8 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.3523, allocations: 15.97 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.3523, allocations: 15.98 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3525, allocations: 40.89 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3525, allocations: 3.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001656/0.3527, allocations: 69.59 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3527, allocations: 4 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3527, allocations: 0 / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3527, allocations: 0 / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.3528, allocations: 16.02 kB / 0.9545 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3528, allocations: 0 / 0.9545 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.3529, allocations: 7.984 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3529, allocations: 4 kB / 0.9545 GB, free: 4.34 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 (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 7.287e-05/0.3529, allocations: 119.8 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.353, allocations: 3.906 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.353, allocations: 3.125 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.353, allocations: 0 / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.353, allocations: 4 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.353, allocations: 0 / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3532, allocations: 165.6 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3532, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.3533, allocations: 4 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3533, allocations: 3.938 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3533, allocations: 0 / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3533, allocations: 4 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3533, allocations: 3.984 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3535, allocations: 163.5 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.3536, allocations: 81.09 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3536, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.3537, allocations: 4 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.3537, allocations: 3.984 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3537, allocations: 4 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.3538, allocations: 83.31 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3538, allocations: 3.938 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002286/0.354, allocations: 4 kB / 0.9551 GB, free: 3.602 MB / 0.7325 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.0001451/0.3542, allocations: 99.25 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3544, allocations: 39.89 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3544, allocations: 3.938 kB / 0.9553 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.3544, allocations: 24.05 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3548, allocations: 7.938 kB / 0.9553 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.3551, allocations: 105.5 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3554, allocations: 0.6805 MB / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.3554, allocations: 0 / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.3554, allocations: 7.438 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3554, allocations: 64 / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of Templates: time 0.002772/0.3582, allocations: 445.5 kB / 0.9565 GB, free: 2.148 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches