Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 87.58 kB / 20.45 MB, free: 4.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9279/0.9279, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.592e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001692/0.001718, allocations: 0.7004 MB / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002745, allocations: 0.8275 MB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.002784, allocations: 1.688 kB / 0.8131 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.002816, allocations: 3.938 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.002887, allocations: 0 / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.437e-05/0.002951, allocations: 7.984 kB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.061e-05/0.003032, allocations: 29.45 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.003126, allocations: 0 / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.003205, allocations: 15.92 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.003238, allocations: 8 kB / 0.8132 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.003261, allocations: 5.75 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.003267, allocations: 0 / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.003283, allocations: 3.984 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.003309, allocations: 11.94 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.886e-05/0.003388, allocations: 15.97 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00339, allocations: 5.031 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003391, allocations: 0 / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.003395, allocations: 0 / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000413/0.003808, allocations: 365.5 kB / 0.8135 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.003851, allocations: 12.03 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.003889, allocations: 5.938 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.19e-05/0.003981, allocations: 108.6 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.003993, allocations: 2.719 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.004002, allocations: 384 / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.004127, allocations: 50.95 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.004134, allocations: 192 / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.004143, allocations: 384 / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.004152, allocations: 384 / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.004189, allocations: 23.84 kB / 0.8137 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.00449, allocations: 244.3 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.004552, allocations: 35.78 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.004579, allocations: 8.219 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.004589, allocations: 5.656 kB / 0.814 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.004616, allocations: 37.38 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004617, allocations: 0 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.004776, allocations: 46.2 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.004809, allocations: 51.41 kB / 0.8141 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.004892, allocations: 166.6 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.004904, allocations: 29.64 kB / 0.8143 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.004952, allocations: 127.5 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.00497, allocations: 7.953 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.005003, allocations: 19.91 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.005139, allocations: 0.4891 MB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.005154, allocations: 0 / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.005164, allocations: 1.375 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.005198, allocations: 15.69 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.0052, allocations: 3.938 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.679e-05/0.005267, allocations: 38.52 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.005282, allocations: 4.938 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.005289, allocations: 3.938 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.005302, allocations: 0 / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.005378, allocations: 9.203 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.005382, allocations: 0 / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.005404, allocations: 4 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.005409, allocations: 0.9375 kB / 0.815 GB, free: 13.96 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.406e-05/0.005483, allocations: 160.6 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.005505, allocations: 6.172 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.005527, allocations: 11.23 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005529, allocations: 0 / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.005535, allocations: 4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.005538, allocations: 256 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.005663, allocations: 116.6 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.005665, allocations: 7.188 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.005693, allocations: 11.92 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005696, allocations: 0 / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.005702, allocations: 0 / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.005704, allocations: 3.938 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005705, allocations: 0 / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.005823, allocations: 187.9 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.005829, allocations: 1.156 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.00584, allocations: 4 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.005892, allocations: 3.938 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.005926, allocations: 0.5625 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.00593, allocations: 7.984 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.005972, allocations: 131.6 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.005972, allocations: 0.5625 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002342/0.006207, allocations: 7.953 kB / 0.8157 GB, free: 13.25 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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 8.749e-05/0.006294, allocations: 92.44 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.006381, allocations: 20.72 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006382, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.006403, allocations: 16.33 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.006665, allocations: 15.33 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.006938, allocations: 107.5 kB / 0.8159 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.00698, allocations: 55.36 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.006998, allocations: 1.031 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.007026, allocations: 12.5 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.007026, allocations: 1.062 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.002562/0.009589, allocations: 0.5088 MB / 0.8165 GB, free: 12.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.05804020119831]