Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001518/0.001518, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001206/0.001206, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9634/0.9634, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.95/1.95, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.573e-05, allocations: 5.688 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001934/0.00197, allocations: 0.6844 MB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.002985, allocations: 0.864 MB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.003028, allocations: 0 / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.003056, allocations: 0 / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.003128, allocations: 8.578 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.003297, allocations: 8.5 kB / 0.8144 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.003367, allocations: 19.92 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.003456, allocations: 13.11 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.003533, allocations: 15.92 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.003572, allocations: 7.984 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.003586, allocations: 0.625 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.942e-05/0.003636, allocations: 14.34 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.003652, allocations: 0 / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.00367, allocations: 8 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.753e-05/0.003767, allocations: 23.89 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00377, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003771, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.003779, allocations: 0 / 0.8145 GB, free: 15.73 MB / 0.7761 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.0003693/0.004148, allocations: 358 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.004187, allocations: 12.03 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.004284, allocations: 4.875 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.004379, allocations: 118.1 kB / 0.8149 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.00439, allocations: 384 / 0.8149 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.004397, allocations: 4.375 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.004516, allocations: 54.94 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004523, allocations: 1.875 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004531, allocations: 4.375 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.004538, allocations: 384 / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.00456, allocations: 3.938 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.004818, allocations: 233.3 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.004869, allocations: 31.09 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.004886, allocations: 12.28 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.004899, allocations: 0.5 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.00492, allocations: 33.39 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004922, allocations: 0.5312 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001372/0.005059, allocations: 54.69 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.005093, allocations: 51.41 kB / 0.8154 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.005169, allocations: 158.4 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.005179, allocations: 25.7 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.005224, allocations: 131.4 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.005243, allocations: 9.328 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.005276, allocations: 19.36 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.005405, allocations: 0.4883 MB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.005417, allocations: 4 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.005426, allocations: 1.156 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.005454, allocations: 12.62 kB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005455, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.919e-05/0.005524, allocations: 42.53 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.005539, allocations: 8 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.005544, allocations: 0 / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005554, allocations: 4.969 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.005614, allocations: 4 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005616, allocations: 1.281 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.005641, allocations: 4 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.005646, allocations: 3.984 kB / 0.8163 GB, free: 13.68 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.248e-05/0.005718, allocations: 161.4 kB / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.005739, allocations: 4 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.559e-05/0.005815, allocations: 42.19 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.005821, allocations: 11.92 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.005822, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005824, allocations: 1.375 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.005938, allocations: 101.2 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005939, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.005973, allocations: 9.359 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.005976, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.00598, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.005981, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005983, allocations: 2.969 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.006084, allocations: 187.9 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.006092, allocations: 4 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.006103, allocations: 0 / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.006154, allocations: 8 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.006186, allocations: 0 / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.006194, allocations: 15.86 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.006231, allocations: 119.7 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006231, allocations: 0 / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002002/0.006431, allocations: 5.938 kB / 0.8169 GB, free: 12.96 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 0.0001006/0.006532, allocations: 95.25 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.006614, allocations: 19.61 kB / 0.817 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006615, allocations: 0.8438 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.006635, allocations: 12.53 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.006882, allocations: 8 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.00713, allocations: 117.7 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.007168, allocations: 59.3 kB / 0.8172 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.007187, allocations: 0 / 0.8172 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.007241, allocations: 74.19 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.007242, allocations: 0 / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.002328/0.00957, allocations: 0.5059 MB / 0.8178 GB, free: 12.04 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.292281499132514]