Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001678, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002368/0.002368, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.452/2.452, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7315, allocations: 140.4 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001858/0.7334, allocations: 0.8203 MB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.7343, allocations: 0.8392 MB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.7344, allocations: 0 / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.7344, allocations: 9.234 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.7345, allocations: 3.938 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.7347, allocations: 25.42 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.896e-05/0.7348, allocations: 63.42 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.7349, allocations: 20.23 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.735, allocations: 38.78 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.7351, allocations: 37.45 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.7351, allocations: 4.125 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.7351, allocations: 4.125 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.7352, allocations: 14.73 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.7352, allocations: 31.91 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.7353, allocations: 64.14 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7353, allocations: 0 / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7353, allocations: 1.375 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7353, allocations: 0 / 0.9509 GB, free: 7.727 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004818/0.7358, allocations: 380.5 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.7359, allocations: 9.625 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.7359, allocations: 9.062 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.736, allocations: 184.3 kB / 0.9514 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.736, allocations: 7.125 kB / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.7361, allocations: 7.125 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.7363, allocations: 82.89 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7363, allocations: 192 / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7363, allocations: 5.312 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7363, allocations: 1.375 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.7365, allocations: 71.06 kB / 0.9516 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.7369, allocations: 326.4 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.7372, allocations: 83.5 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.7373, allocations: 42.27 kB / 0.952 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.7373, allocations: 1.438 kB / 0.952 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.7373, allocations: 32.22 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.7374, allocations: 0 / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004466/0.7378, allocations: 136.8 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.7378, allocations: 60.38 kB / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.7379, allocations: 118 kB / 0.9523 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.7379, allocations: 26.8 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.738, allocations: 100.2 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.738, allocations: 14.16 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.7381, allocations: 22.02 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.7381, allocations: 321.2 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.7382, allocations: 30.72 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.7384, allocations: 33 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.7386, allocations: 65.12 kB / 0.9529 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7386, allocations: 1.516 kB / 0.9529 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000266/0.7389, allocations: 113.7 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7389, allocations: 4.656 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7389, allocations: 5.25 kB / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.7389, allocations: 448 / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.7391, allocations: 15.2 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7391, allocations: 1.406 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.7392, allocations: 11.05 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7392, allocations: 2.5 kB / 0.9531 GB, free: 5.633 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 (6): * Single equations (assignments): 6 * 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 6.465e-05/0.7393, allocations: 124.2 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.7393, allocations: 6.5 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.7393, allocations: 14.88 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7393, allocations: 0 / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7394, allocations: 1.312 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7394, allocations: 3.938 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.7395, allocations: 197.8 kB / 0.9534 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7395, allocations: 0 / 0.9534 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.7396, allocations: 19.88 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7397, allocations: 1.156 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.7397, allocations: 0 / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7397, allocations: 1 kB / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7397, allocations: 0 / 0.9534 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.74, allocations: 206.6 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.74, allocations: 82.67 kB / 0.9537 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.7401, allocations: 0 / 0.9537 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.7402, allocations: 16.61 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.7402, allocations: 11.91 kB / 0.9537 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.7403, allocations: 14.08 kB / 0.9538 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.7403, allocations: 101 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7403, allocations: 0.9062 kB / 0.9538 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002294/0.7406, allocations: 9.062 kB / 0.9539 GB, free: 4.855 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 (6): * Single equations (assignments): 6 * 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.0001278/0.7407, allocations: 102.7 kB / 0.954 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.741, allocations: 76.09 kB / 0.954 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.741, allocations: 4 kB / 0.954 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.7411, allocations: 47.09 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.7414, allocations: 2.938 kB / 0.9541 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.7419, allocations: 188 kB / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.742, allocations: 0.6892 MB / 0.9549 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.058e-05/0.7421, allocations: 8.953 kB / 0.9549 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.7421, allocations: 10.19 kB / 0.9549 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7422, allocations: 4 kB / 0.955 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.003079/0.7452, allocations: 1.084 MB / 0.956 GB, free: 3.258 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches