Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.0009775/0.0009775, 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.001523/0.001523, allocations: 161 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 1.02/1.02, allocations: 177.1 MB / 204.2 MB, free: 5.637 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 2.001/2.001, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 0.8116 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.45e-05, allocations: 3.625 kB / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002407/0.002441, allocations: 0.7183 MB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003631, allocations: 0.8443 MB / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.003673, allocations: 0 / 0.8131 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.003706, allocations: 3.938 kB / 0.8131 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.00379, allocations: 9.531 kB / 0.8131 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.295e-05/0.003863, allocations: 15.92 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.003963, allocations: 39.91 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.004086, allocations: 9.078 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.004183, allocations: 23.92 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.00423, allocations: 23.88 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004249, allocations: 0.625 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.004256, allocations: 5.406 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.004276, allocations: 11.94 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.004306, allocations: 11.98 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.004399, allocations: 31.84 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004402, allocations: 0.6875 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.123e-06/0.004403, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004407, allocations: 0.9062 kB / 0.8133 GB, free: 15.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004209/0.004828, allocations: 377.2 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.004871, allocations: 8.031 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.004913, allocations: 9.734 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.005017, allocations: 120.5 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.00503, allocations: 1.625 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.005044, allocations: 4.375 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.005225, allocations: 62.94 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005235, allocations: 2.156 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005246, allocations: 384 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.005256, allocations: 4.375 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.005309, allocations: 15.92 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.005688, allocations: 263.7 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/0.005782, allocations: 32.06 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.005824, allocations: 15.77 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.005834, allocations: 5.531 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.005863, allocations: 37.39 kB / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.005865, allocations: 0 / 0.8142 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.006056, allocations: 53.75 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.006087, allocations: 52.38 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.00619, allocations: 165.9 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006203, allocations: 25.7 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.006263, allocations: 139.6 kB / 0.8146 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.006285, allocations: 3.953 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.006323, allocations: 20.28 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.006476, allocations: 0.4884 MB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.006502, allocations: 5.688 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.006521, allocations: 11.92 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.006566, allocations: 15.69 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006568, allocations: 0 / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001157/0.006684, allocations: 50.2 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.006704, allocations: 7.938 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006709, allocations: 0.6875 kB / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.006725, allocations: 0 / 0.8152 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.006838, allocations: 16.61 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.006845, allocations: 1.062 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.006882, allocations: 4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.006892, allocations: 8.297 kB / 0.8153 GB, free: 13.7 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 (3): * Single equations (assignments): 3 * 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.942e-05/0.006972, allocations: 153.1 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.007001, allocations: 5.344 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.007032, allocations: 11.94 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007035, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.007038, allocations: 1.156 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007041, allocations: 0 / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.007199, allocations: 120.6 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007201, allocations: 0.5312 kB / 0.8155 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.007272, allocations: 20.77 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.007275, allocations: 0 / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.007284, allocations: 0 / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.007288, allocations: 5.625 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.00729, allocations: 4 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.007453, allocations: 191.9 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.007463, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007478, allocations: 0.8125 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.007562, allocations: 15.92 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.007606, allocations: 4.938 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.00761, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.956e-05/0.007709, allocations: 139.2 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.11e-07/0.00771, allocations: 1.344 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002533/0.007963, allocations: 4 kB / 0.8159 GB, free: 12.97 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 (3): * Single equations (assignments): 3 * 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.0001215/0.008085, allocations: 99.94 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.008189, allocations: 19.67 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.00819, allocations: 1.938 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.008225, allocations: 15.62 kB / 0.816 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.0003065/0.008531, allocations: 11.98 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.008889, allocations: 138.8 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.008932, allocations: 55.3 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.00896, allocations: 7.984 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.008995, allocations: 12.44 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of SimCode: time 1.203e-06/0.008997, allocations: 0 / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.003417/0.01241, allocations: 0.7456 MB / 0.817 GB, free: 11.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.480648556724191]