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.001212/0.001212, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001033/0.001033, allocations: 161 kB / 24.16 MB, free: 332 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.9797/0.9797, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.9 MB / 0.624 GB, free: 8.305 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.403e-06/1.403e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.451e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001104/0.001118, allocations: 0.7185 MB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.001815, allocations: 0.8522 MB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.001845, allocations: 0 / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.001873, allocations: 3.938 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.001936, allocations: 8.328 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.923e-05/0.001986, allocations: 15.98 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.002053, allocations: 43.95 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.748e-05/0.00212, allocations: 11.98 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.002196, allocations: 28.05 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.00223, allocations: 12.86 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.002247, allocations: 4 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.52e-06/0.002253, allocations: 4.531 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.002268, allocations: 6.062 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.002286, allocations: 13.84 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.857e-05/0.002355, allocations: 30.58 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002356, allocations: 0 / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002357, allocations: 0.5625 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.00236, allocations: 0 / 0.7618 GB, free: 4.852 MB / 0.7136 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.0002657/0.002625, allocations: 250.6 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.002652, allocations: 8.719 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.002675, allocations: 9.984 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.002746, allocations: 117.7 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.002754, allocations: 384 / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.002765, allocations: 9.375 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.734e-05/0.002863, allocations: 58.94 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.002868, allocations: 0.9375 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-06/0.002874, allocations: 384 / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.002879, allocations: 5.797 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.002899, allocations: 12.59 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.003071, allocations: 152.2 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.003119, allocations: 27.88 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.003133, allocations: 12.94 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.003139, allocations: 0 / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.003157, allocations: 35.81 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.003158, allocations: 3.938 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.586e-05/0.003254, allocations: 49.56 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.003279, allocations: 51.41 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.003328, allocations: 111.9 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.003337, allocations: 25.7 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.003365, allocations: 92.09 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.003379, allocations: 8.922 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.003402, allocations: 17.7 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.003469, allocations: 314.8 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.003478, allocations: 4.531 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.003486, allocations: 1.562 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.003507, allocations: 16.84 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.003509, allocations: 0 / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.031e-05/0.003549, allocations: 41.62 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.00356, allocations: 10.94 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.003564, allocations: 0 / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.003575, allocations: 3.938 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.003631, allocations: 13.48 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.003634, allocations: 0 / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.003655, allocations: 8 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.003659, allocations: 0 / 0.7632 GB, free: 3.262 MB / 0.7136 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 4.303e-05/0.003702, allocations: 114.3 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.003713, allocations: 0.75 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.00373, allocations: 11.98 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.003732, allocations: 8.688 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.003734, allocations: 0 / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.003738, allocations: 0.6562 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.603e-05/0.003814, allocations: 75.66 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.003816, allocations: 4 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.003838, allocations: 8 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-07/0.003838, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-06/0.003841, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003842, allocations: 2.438 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003842, allocations: 3.938 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.003908, allocations: 143.8 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.003913, allocations: 7.891 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-06/0.003919, allocations: 4 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.003953, allocations: 8 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.003977, allocations: 6.453 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.003979, allocations: 3.938 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.373e-05/0.003993, allocations: 20.83 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003993, allocations: 0 / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001089/0.004102, allocations: 4 kB / 0.7636 GB, free: 2.801 MB / 0.7136 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 6.522e-05/0.004167, allocations: 81.45 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.342e-05/0.00422, allocations: 16.8 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.004222, allocations: 0 / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.004237, allocations: 13.78 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.004356, allocations: 12.44 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.004554, allocations: 131.5 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.004584, allocations: 63.28 kB / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.0046, allocations: 0 / 0.7639 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.004644, allocations: 55.38 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.004645, allocations: 3.031 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of Templates: time 0.001849/0.006493, allocations: 0.677 MB / 0.7646 GB, free: 1.738 MB / 0.7136 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: 4.971650782041252]