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.001081/0.001081, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001467/0.001467, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.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.616/2.616, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8465, allocations: 142.4 MB / 0.9545 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009251/0.8474, allocations: 427.2 kB / 0.9549 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.8484, allocations: 0.7913 MB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.8485, allocations: 1.344 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.8485, allocations: 0 / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.722e-05/0.8486, allocations: 9.406 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.029e-05/0.8487, allocations: 9.453 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.06e-05/0.8488, allocations: 41.03 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.8489, allocations: 12.22 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.849, allocations: 14.91 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.8491, allocations: 16.08 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.8491, allocations: 6.438 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.8491, allocations: 5.375 kB / 0.9558 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.8491, allocations: 13.52 kB / 0.9558 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.8491, allocations: 30.98 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.049e-05/0.8492, allocations: 25.84 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8492, allocations: 0 / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8492, allocations: 1.031 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8493, allocations: 0 / 0.9558 GB, free: 6.605 MB / 0.7169 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.0005224/0.8498, allocations: 369.1 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.8498, allocations: 8.844 kB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.8499, allocations: 10.58 kB / 0.9562 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.85, allocations: 169.3 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.85, allocations: 1.219 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.8501, allocations: 1.344 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.8503, allocations: 80.41 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8503, allocations: 0 / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.8504, allocations: 1.438 kB / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.8504, allocations: 0 / 0.9564 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.8507, allocations: 91.34 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.851, allocations: 274.8 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.8512, allocations: 66.08 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.8514, allocations: 53.34 kB / 0.9569 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.8514, allocations: 1.094 kB / 0.9569 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.8514, allocations: 34.56 kB / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8514, allocations: 0.75 kB / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005333/0.852, allocations: 170.1 kB / 0.9571 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.852, allocations: 52.53 kB / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.8521, allocations: 107.9 kB / 0.9572 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.8521, allocations: 29.7 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.8522, allocations: 82.3 kB / 0.9574 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.8522, allocations: 16.84 kB / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.8522, allocations: 0 / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.8523, allocations: 319.9 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.8524, allocations: 38.88 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.8525, allocations: 46.69 kB / 0.9578 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.8527, allocations: 44.75 kB / 0.9578 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8527, allocations: 3.938 kB / 0.9578 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003166/0.853, allocations: 120.2 kB / 0.9579 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.853, allocations: 10.91 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8531, allocations: 0 / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8531, allocations: 5.203 kB / 0.9579 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.8532, allocations: 22.34 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8532, allocations: 1.219 kB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.8533, allocations: 15.58 kB / 0.958 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.8533, allocations: 8 kB / 0.958 GB, free: 4.656 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.8534, allocations: 112.2 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.8535, allocations: 6.25 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.8535, allocations: 8.969 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8535, allocations: 1.156 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8535, allocations: 3.953 kB / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8535, allocations: 0 / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.8537, allocations: 170 kB / 0.9583 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8537, allocations: 0 / 0.9583 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.8538, allocations: 23.73 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.8538, allocations: 0 / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8538, allocations: 0 / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8538, allocations: 1.406 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8538, allocations: 0 / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.8542, allocations: 219.8 kB / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.8542, allocations: 90.61 kB / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.8542, allocations: 0 / 0.9586 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8543, allocations: 15.55 kB / 0.9586 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.8544, allocations: 5.609 kB / 0.9586 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.8544, allocations: 1.438 kB / 0.9586 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.8544, allocations: 89.67 kB / 0.9587 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8544, allocations: 0 / 0.9587 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002181/0.8547, allocations: 6.031 kB / 0.9587 GB, free: 3.938 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.8548, allocations: 110.7 kB / 0.9588 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.8551, allocations: 89.27 kB / 0.9589 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.8552, allocations: 3.938 kB / 0.9589 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.8553, allocations: 43.19 kB / 0.9589 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.8556, allocations: 17.47 kB / 0.959 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.856, allocations: 126.3 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.8561, allocations: 0.6801 MB / 0.9597 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.8562, allocations: 4 kB / 0.9597 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.8562, allocations: 9.281 kB / 0.9597 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.8562, allocations: 0 / 0.9597 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Templates: time 0.00278/0.859, allocations: 0.5372 MB / 0.9603 GB, free: 2.656 MB / 0.7169 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/jenkins/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