Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 104.6 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.001781/0.001781, allocations: 189.8 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.284/2.284, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.8 kB / 0.8132 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2509, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002111/0.253, allocations: 0.7001 MB / 0.951 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2541, allocations: 0.8118 MB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.2541, allocations: 0 / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.2542, allocations: 0 / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.2543, allocations: 11.88 kB / 0.9518 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.479e-05/0.2543, allocations: 11.98 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.2544, allocations: 39.92 kB / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2546, allocations: 7.984 kB / 0.9518 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.2546, allocations: 23.92 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.2547, allocations: 15.92 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2547, allocations: 4 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.2547, allocations: 4 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.2548, allocations: 19.91 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.2548, allocations: 15.94 kB / 0.9519 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.994e-05/0.2549, allocations: 35.88 kB / 0.9519 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2549, allocations: 0 / 0.9519 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2549, allocations: 0 / 0.9519 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.2549, allocations: 0 / 0.9519 GB, free: 7.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005992/0.2555, allocations: 364.8 kB / 0.9523 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2556, allocations: 15.97 kB / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.2556, allocations: 4.938 kB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2558, allocations: 172.2 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2558, allocations: 8.312 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.2558, allocations: 384 / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.2561, allocations: 76.31 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2561, allocations: 192 / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2561, allocations: 3.938 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2561, allocations: 0 / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.2564, allocations: 67.92 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.2569, allocations: 264.9 kB / 0.9529 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.2571, allocations: 62.47 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2573, allocations: 36.92 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.2573, allocations: 3.984 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2573, allocations: 38.55 kB / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2573, allocations: 0 / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.2579, allocations: 133.4 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.258, allocations: 51.41 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.258, allocations: 113.8 kB / 0.9533 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2581, allocations: 25.7 kB / 0.9533 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.2581, allocations: 92.11 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2582, allocations: 7.906 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.2582, allocations: 17.72 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2583, allocations: 314.8 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2585, allocations: 31.95 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2586, allocations: 27.97 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.2589, allocations: 72.78 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.2589, allocations: 7.938 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003361/0.2593, allocations: 101.5 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2593, allocations: 4 kB / 0.954 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2593, allocations: 0 / 0.954 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.2593, allocations: 8 kB / 0.954 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2595, allocations: 15.97 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2595, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.2596, allocations: 11.98 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2596, allocations: 0 / 0.954 GB, free: 4.77 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 (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 7.699e-05/0.2597, allocations: 117.8 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.2597, allocations: 0 / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.2597, allocations: 15.91 kB / 0.9541 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2597, allocations: 3.938 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2598, allocations: 0 / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2598, allocations: 3.984 kB / 0.9541 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.2599, allocations: 169.5 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2599, allocations: 0 / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.2601, allocations: 19.92 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2601, allocations: 4 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2601, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2601, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2601, allocations: 4 kB / 0.9543 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.2605, allocations: 191.4 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2605, allocations: 81.05 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2605, allocations: 4 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2607, allocations: 19.92 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2607, allocations: 7.984 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.2607, allocations: 384 / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.2608, allocations: 87.28 kB / 0.9547 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2608, allocations: 0 / 0.9547 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002156/0.261, allocations: 4 kB / 0.9547 GB, free: 3.953 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 (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.0001457/0.2611, allocations: 103.2 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2615, allocations: 79.86 kB / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2615, allocations: 0 / 0.9549 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.2617, allocations: 40.05 kB / 0.9549 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.262, allocations: 11.92 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.2623, allocations: 155.2 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2626, allocations: 0.6805 MB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.2627, allocations: 15.38 kB / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.2627, allocations: 0 / 0.9558 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of Templates: time 0.0022/0.2649, allocations: 0.7467 MB / 0.9565 GB, free: 2.07 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches