Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001452/0.001452, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001676/0.001676, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9688/0.9688, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.96e-05, allocations: 3 kB / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001547/0.001576, allocations: 0.672 MB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.002472, allocations: 0.8681 MB / 0.7891 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.002507, allocations: 0 / 0.7891 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.002536, allocations: 5.094 kB / 0.7891 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.002605, allocations: 3.938 kB / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.002785, allocations: 11.98 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.344e-05/0.002848, allocations: 25.73 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.002945, allocations: 4 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.003031, allocations: 11.98 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.048e-05/0.003062, allocations: 7.938 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.003075, allocations: 4.781 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.00313, allocations: 11.92 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.003148, allocations: 4.703 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.003166, allocations: 11.94 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.003256, allocations: 13.3 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003258, allocations: 0 / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003259, allocations: 0 / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003263, allocations: 0 / 0.7892 GB, free: 10.45 MB / 0.7448 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.0002871/0.00355, allocations: 358.1 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.003591, allocations: 16.02 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.003672, allocations: 4.891 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.003743, allocations: 113.6 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.003752, allocations: 384 / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.003757, allocations: 384 / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/0.003844, allocations: 56.39 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.003851, allocations: 4.172 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.003857, allocations: 4.312 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.003863, allocations: 4.375 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.003886, allocations: 9.578 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.00409, allocations: 224.5 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.004129, allocations: 31.05 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.004144, allocations: 13.34 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.004161, allocations: 0 / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.004183, allocations: 41.27 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.004184, allocations: 0 / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000121/0.004305, allocations: 51.23 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.00433, allocations: 55.41 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.004392, allocations: 157.9 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.004401, allocations: 25.7 kB / 0.7904 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.004437, allocations: 129.5 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.004452, allocations: 3.953 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.004479, allocations: 27.36 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.00459, allocations: 492.1 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.004601, allocations: 4 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.004611, allocations: 7.922 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.004635, allocations: 16.34 kB / 0.791 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004637, allocations: 0.5312 kB / 0.791 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.744e-05/0.004684, allocations: 35.2 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.004695, allocations: 4 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.004699, allocations: 4 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.004709, allocations: 3.938 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.004755, allocations: 8.516 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.004758, allocations: 1.344 kB / 0.7911 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.004773, allocations: 4 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.004778, allocations: 4 kB / 0.7911 GB, free: 8.391 MB / 0.7448 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 6.217e-05/0.00484, allocations: 157.7 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.004853, allocations: 4 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.004921, allocations: 42.38 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.004923, allocations: 3.938 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004924, allocations: 4 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004927, allocations: 0 / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.005015, allocations: 106.9 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005016, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.005034, allocations: 4 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005036, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.005039, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005041, allocations: 0.5312 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.005042, allocations: 1 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.406e-05/0.005126, allocations: 191.8 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.005131, allocations: 8.812 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-06/0.005138, allocations: 0 / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.979e-05/0.005168, allocations: 11.45 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.005194, allocations: 0 / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005196, allocations: 3.938 kB / 0.7916 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.005228, allocations: 123.4 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005228, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001288/0.005357, allocations: 4 kB / 0.7917 GB, free: 7.684 MB / 0.7448 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.109e-05/0.005438, allocations: 99.23 kB / 0.7918 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.631e-05/0.005494, allocations: 12.25 kB / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.005496, allocations: 0 / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.005509, allocations: 17.53 kB / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.005687, allocations: 8 kB / 0.7918 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.005886, allocations: 112.4 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.005916, allocations: 63.28 kB / 0.792 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.00593, allocations: 144 / 0.792 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.005974, allocations: 74.2 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.005975, allocations: 0 / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.001853/0.007828, allocations: 0.5132 MB / 0.7926 GB, free: 6.746 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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: 4.840042138937861]