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.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.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.001467/0.001467, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001568/0.001568, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.459/1.459, 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.503/2.503, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 68.17 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 140.4 MB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002908/0.3474, allocations: 0.7113 MB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3485, allocations: 0.8001 MB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.3485, allocations: 0 / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.3486, allocations: 7.938 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.3487, allocations: 3.938 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.677e-05/0.3487, allocations: 15.97 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.3488, allocations: 47.78 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.349, allocations: 19.98 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.3491, allocations: 8 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.3491, allocations: 27.84 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3492, allocations: 4 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.3492, allocations: 4 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.3492, allocations: 8 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.3492, allocations: 11.92 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3494, allocations: 47.8 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3494, allocations: 4 kB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.035e-06/0.3494, allocations: 4 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3494, allocations: 0 / 0.9528 GB, free: 6.254 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.000578/0.35, allocations: 367.3 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.35, allocations: 8.031 kB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.3501, allocations: 4.938 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3502, allocations: 172.2 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3502, allocations: 384 / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3503, allocations: 4.375 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.3505, allocations: 72.33 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3505, allocations: 192 / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3505, allocations: 7.922 kB / 0.9534 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3505, allocations: 4 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.3508, allocations: 55.94 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3512, allocations: 276.8 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3514, allocations: 58.47 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.3516, allocations: 36.92 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3516, allocations: 0 / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.3516, allocations: 38.56 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3516, allocations: 0 / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000504/0.3522, allocations: 133.4 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.3522, allocations: 51.41 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3524, allocations: 113.8 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3524, allocations: 25.7 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.3524, allocations: 84.14 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3525, allocations: 11.89 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3525, allocations: 13.72 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3527, allocations: 318.8 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.3528, allocations: 31.95 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.353, allocations: 35.97 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.3532, allocations: 64.78 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3532, allocations: 7.938 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002829/0.3535, allocations: 101.8 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3535, allocations: 8 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3535, allocations: 48 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3536, allocations: 3.984 kB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3537, allocations: 15.98 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3537, allocations: 7.984 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.3538, allocations: 7.984 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3538, allocations: 4 kB / 0.9549 GB, free: 3.926 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 0.0001094/0.3539, allocations: 117.8 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.354, allocations: 4 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.354, allocations: 3.906 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.354, allocations: 0 / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.354, allocations: 0 / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.354, allocations: 0 / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3542, allocations: 177.5 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3542, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.3543, allocations: 19.98 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3543, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3543, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3544, allocations: 3.938 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3544, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.3547, allocations: 203.4 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.3548, allocations: 81.05 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3548, allocations: 0 / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.3549, allocations: 15.92 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.355, allocations: 7.984 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.355, allocations: 0 / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.355, allocations: 83.28 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3551, allocations: 0 / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002126/0.3553, allocations: 12 kB / 0.9556 GB, free: 3.113 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.0001991/0.3555, allocations: 103.2 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3558, allocations: 75.8 kB / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3558, allocations: 0 / 0.9557 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.356, allocations: 35.97 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3563, allocations: 11.94 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.3567, allocations: 132.2 kB / 0.9559 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.357, allocations: 0.6844 MB / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.3571, allocations: 0 / 0.9566 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.3571, allocations: 15.44 kB / 0.9566 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3571, allocations: 0 / 0.9566 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of Templates: time 0.003028/0.3602, allocations: 0.6827 MB / 0.9573 GB, free: 1.328 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 -s cvode -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