Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.00113, allocations: 178 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 90.53 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.294e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7185/0.9231, allocations: 131.7 MB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.9234, allocations: 67.16 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004109/0.9275, allocations: 1.154 MB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9275, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.9276, allocations: 8 kB / 1.015 GB, free: 5.078 MB / 0.6355 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.000509/0.9281, allocations: 359.5 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.9282, allocations: 8.031 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.9282, allocations: 7.906 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.9284, allocations: 186.6 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.9284, allocations: 4 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.9285, allocations: 4 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.9286, allocations: 37.44 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.9287, allocations: 62.59 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9287, allocations: 7.938 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9288, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.9288, allocations: 0 / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.9294, allocations: 325.3 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.9296, allocations: 62.62 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.9297, allocations: 26.77 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.9297, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.9297, allocations: 30.56 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.9297, allocations: 4 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002346/0.93, allocations: 73.56 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.93, allocations: 55.41 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.9302, allocations: 107.5 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.9302, allocations: 25.7 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.9303, allocations: 98.84 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.9303, allocations: 15.66 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.9303, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9304, allocations: 326.2 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.9305, allocations: 18.69 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.9305, allocations: 14.69 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.9306, allocations: 23.05 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9306, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001332/0.9307, allocations: 65.69 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9307, allocations: 4 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9308, allocations: 4 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9308, allocations: 0 / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.931, allocations: 26.48 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.931, allocations: 4 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.9311, allocations: 15.89 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.9311, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.9312, allocations: 112.9 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.9312, allocations: 112 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.9313, allocations: 19.73 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9313, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9313, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9313, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.9315, allocations: 179.3 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9315, allocations: 0 / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.9317, allocations: 15.98 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9317, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.9317, allocations: 4 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9317, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9317, allocations: 3.984 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.9319, allocations: 179.8 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.932, allocations: 81.02 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.932, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.9322, allocations: 11.98 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.9322, allocations: 11.23 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.9322, allocations: 8.859 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.9323, allocations: 90.8 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9323, allocations: 4 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002597/0.9326, allocations: 15.94 kB / 1.018 GB, free: 2.309 MB / 0.6355 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 () * 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 (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.0001544/0.9327, allocations: 99.25 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.9329, allocations: 48.67 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9329, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.933, allocations: 26.55 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.9332, allocations: 11.33 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.9336, allocations: 105.2 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.9339, allocations: 0.6924 MB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.9339, allocations: 12.17 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.934, allocations: 14.38 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.934, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of Templates: time 0.002975/0.937, allocations: 0.9845 MB / 1.02 GB, free: 328 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches