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.001277/0.001277, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009443/0.0009443, allocations: 161 kB / 23.82 MB, free: 0.75 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.9715/0.9715, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.968/1.968, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 1.372e-06/1.372e-06, allocations: 0 / 0.8116 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.65e-05, allocations: 5.688 kB / 0.8116 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001097/0.001113, allocations: 0.6751 MB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000729/0.001842, allocations: 0.8548 MB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.001873, allocations: 3.938 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.001903, allocations: 5.812 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.00196, allocations: 0 / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.002133, allocations: 11.98 kB / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.002193, allocations: 19.94 kB / 0.8131 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.002282, allocations: 11.97 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.002344, allocations: 17.28 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.002376, allocations: 11.92 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002389, allocations: 0 / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.825e-05/0.002428, allocations: 9.531 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.002443, allocations: 4 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.002472, allocations: 7.984 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.89e-05/0.002561, allocations: 19.97 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002563, allocations: 0 / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002564, allocations: 0.5312 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.002567, allocations: 0.7188 kB / 0.8132 GB, free: 15.97 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.0003219/0.002889, allocations: 360.6 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.002926, allocations: 12.56 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.003018, allocations: 6.547 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.003097, allocations: 112.6 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.003107, allocations: 384 / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.003119, allocations: 4.375 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.003241, allocations: 55.47 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.003254, allocations: 8.125 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.003263, allocations: 1.688 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.003271, allocations: 384 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.036e-05/0.003301, allocations: 11.92 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.003555, allocations: 241 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/0.003602, allocations: 31.06 kB / 0.814 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.00362, allocations: 9.062 kB / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.003638, allocations: 0 / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.00366, allocations: 49.38 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003661, allocations: 0 / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.00379, allocations: 47.16 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.003815, allocations: 51.41 kB / 0.8142 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.003886, allocations: 157.9 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.003897, allocations: 35.27 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.003939, allocations: 126.9 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.003953, allocations: 3.953 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.003978, allocations: 19.38 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.004089, allocations: 0.4893 MB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.0041, allocations: 0 / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.00411, allocations: 7.938 kB / 0.815 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.004136, allocations: 13.78 kB / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004137, allocations: 0 / 0.815 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.72e-05/0.004185, allocations: 37.7 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004196, allocations: 4 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.004202, allocations: 10.19 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.004216, allocations: 0 / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.004271, allocations: 7.984 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004276, allocations: 0 / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.004293, allocations: 4 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.004297, allocations: 3.938 kB / 0.8151 GB, free: 13.88 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 5.774e-05/0.004354, allocations: 157.5 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.004368, allocations: 4 kB / 0.8152 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.004443, allocations: 46.88 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004445, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.004449, allocations: 3.984 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004451, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.541e-05/0.004536, allocations: 116.6 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004537, allocations: 2.188 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.004555, allocations: 7.984 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.004556, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.004562, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.004563, allocations: 3.938 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004564, allocations: 5.031 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/0.004658, allocations: 183.9 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-06/0.004666, allocations: 8.641 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.004675, allocations: 0 / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.004704, allocations: 4.938 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.004742, allocations: 4 kB / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004744, allocations: 0 / 0.8156 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.004782, allocations: 132.2 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004782, allocations: 0 / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001364/0.004919, allocations: 7.375 kB / 0.8157 GB, free: 13.15 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 6.494e-05/0.004984, allocations: 91.39 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.005075, allocations: 11.69 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.005077, allocations: 7.938 kB / 0.8158 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.005109, allocations: 11.67 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.005286, allocations: 10.25 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.005522, allocations: 118.4 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.005554, allocations: 51.36 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.005567, allocations: 4 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.00559, allocations: 9.438 kB / 0.816 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.005591, allocations: 0 / 0.816 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.001789/0.00738, allocations: 484.9 kB / 0.8165 GB, free: 12.32 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.292686773929745]