Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.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.0009933/0.0009933, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009763/0.0009763, allocations: 169 kB / 24.28 MB, free: 272 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.9646/0.9646, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.962/1.962, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0.8116 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.439e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00171/0.001744, allocations: 0.7076 MB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.004725, allocations: 0.853 MB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.004763, allocations: 0 / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.004792, allocations: 3.938 kB / 0.8131 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.00486, allocations: 7.875 kB / 0.8131 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.438e-05/0.004924, allocations: 17.17 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.005007, allocations: 39.91 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.005108, allocations: 8 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.005199, allocations: 28.66 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.005239, allocations: 15.97 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.00526, allocations: 5.344 kB / 0.8132 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.005267, allocations: 4 kB / 0.8132 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.005285, allocations: 7.938 kB / 0.8133 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.00531, allocations: 11.98 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.005401, allocations: 33.78 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005404, allocations: 4 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005406, allocations: 0 / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.00541, allocations: 0 / 0.8133 GB, free: 236 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004084/0.005819, allocations: 374.4 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.005856, allocations: 8.031 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.005896, allocations: 12.89 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.005999, allocations: 124.5 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.00601, allocations: 384 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.006021, allocations: 5.188 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.006168, allocations: 63.47 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.006175, allocations: 192 / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.006186, allocations: 9.078 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.006194, allocations: 384 / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.00623, allocations: 8.469 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.006535, allocations: 265.1 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.006605, allocations: 34.98 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.006634, allocations: 15.69 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.006642, allocations: 0.5312 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.006664, allocations: 38.77 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006665, allocations: 0 / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.006823, allocations: 53.66 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.006852, allocations: 51.41 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.009965, allocations: 171.1 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.00998, allocations: 29.7 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.01003, allocations: 134.8 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.01005, allocations: 5.172 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.01008, allocations: 23.36 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01021, allocations: 496.1 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.01023, allocations: 8.812 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.01025, allocations: 4 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/0.01029, allocations: 20.48 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01029, allocations: 0 / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.51e-05/0.01038, allocations: 50.88 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.0104, allocations: 7.938 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.0104, allocations: 0 / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01041, allocations: 0 / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.0105, allocations: 12.83 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01051, allocations: 0 / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.01054, allocations: 13.2 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.01054, allocations: 0 / 0.8153 GB, free: 14.04 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 6.95e-05/0.01061, allocations: 153.9 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01063, allocations: 4 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.01066, allocations: 11.94 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01066, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01066, allocations: 1.688 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01067, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.0108, allocations: 120.6 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0108, allocations: 0 / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.01084, allocations: 14.64 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01084, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01085, allocations: 4 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.01085, allocations: 7.938 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01086, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.01098, allocations: 200.1 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.01099, allocations: 0 / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.011, allocations: 4.5 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.01106, allocations: 16.45 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.0111, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.0111, allocations: 1.344 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.01115, allocations: 135.2 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01115, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002007/0.01135, allocations: 4 kB / 0.8159 GB, free: 13.31 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 9.83e-05/0.01145, allocations: 96.81 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.838e-05/0.01154, allocations: 23.61 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01154, allocations: 4.594 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/0.01156, allocations: 15.69 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01181, allocations: 14.95 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.0121, allocations: 137.3 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.01214, allocations: 59.34 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.01216, allocations: 2.562 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.0122, allocations: 12.5 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.0122, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.005515/0.01771, allocations: 0.7391 MB / 0.817 GB, free: 12.18 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.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.23342058993876]