Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.001332/0.001332, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001279/0.001279, allocations: 161 kB / 24.16 MB, free: 336 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.9815/0.9815, allocations: 177.1 MB / 204.6 MB, free: 5.152 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 2.029/2.029, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] 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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.716e-05, allocations: 2.312 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002116/0.002134, allocations: 1.633 MB / 0.7616 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.002857, allocations: 496.5 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.002915, allocations: 3.938 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.002943, allocations: 4.484 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.003, allocations: 11.86 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.003213, allocations: 37.16 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.003313, allocations: 44.83 kB / 0.7622 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.0034, allocations: 24.55 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.00354, allocations: 37.27 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.041e-05/0.003571, allocations: 19.89 kB / 0.7623 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.003585, allocations: 4 kB / 0.7623 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.003635, allocations: 17.19 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.003651, allocations: 4 kB / 0.7623 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.00367, allocations: 15.92 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.448e-05/0.003765, allocations: 31.95 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003767, allocations: 5.188 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003767, allocations: 0 / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.00377, allocations: 0 / 0.7623 GB, free: 4.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003407/0.004111, allocations: 261.5 kB / 0.7626 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.00415, allocations: 12.56 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.004254, allocations: 17.61 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.004391, allocations: 125.7 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.004411, allocations: 5.562 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.004418, allocations: 4.375 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.004526, allocations: 62.94 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004533, allocations: 1.406 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.00454, allocations: 384 / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.00455, allocations: 7.938 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.004574, allocations: 13.44 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.004814, allocations: 172.2 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.004928, allocations: 35.31 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.004944, allocations: 8.859 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.004955, allocations: 0.75 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.004978, allocations: 42.44 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.004979, allocations: 0.75 kB / 0.7631 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001111/0.00509, allocations: 49.66 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.005116, allocations: 53.53 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.124e-05/0.005167, allocations: 114.8 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.005176, allocations: 29.7 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.005205, allocations: 88.08 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.005221, allocations: 11.94 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.005243, allocations: 13.72 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.005312, allocations: 315.8 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.005322, allocations: 4 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.005333, allocations: 10.55 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/0.005357, allocations: 12.86 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005359, allocations: 0 / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.455e-05/0.005404, allocations: 45.62 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005417, allocations: 13.81 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.00542, allocations: 0 / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005431, allocations: 0 / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.00547, allocations: 11.11 kB / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005473, allocations: 0 / 0.7638 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.005491, allocations: 7.953 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005498, allocations: 3.984 kB / 0.7638 GB, free: 2.652 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 5.675e-05/0.005554, allocations: 113.8 kB / 0.7639 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.00557, allocations: 3.938 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.005597, allocations: 12 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005599, allocations: 0 / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.0056, allocations: 1.719 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005603, allocations: 0 / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.005691, allocations: 77.81 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005691, allocations: 0 / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.005715, allocations: 15.23 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.005716, allocations: 0 / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.00572, allocations: 0 / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005722, allocations: 3.938 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005722, allocations: 0 / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.005793, allocations: 135.5 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.0058, allocations: 11.92 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.005809, allocations: 4 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.005843, allocations: 3.938 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.005863, allocations: 7 kB / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005866, allocations: 0 / 0.7642 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.607e-05/0.005882, allocations: 20.83 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005882, allocations: 0 / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001173/0.005999, allocations: 7.953 kB / 0.7642 GB, free: 2.203 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.143e-05/0.006061, allocations: 80.42 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.696e-05/0.006118, allocations: 17.22 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00612, allocations: 1.406 kB / 0.7643 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.006137, allocations: 16.8 kB / 0.7643 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.006261, allocations: 5.703 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.006597, allocations: 145.9 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.006628, allocations: 63.94 kB / 0.7645 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.006647, allocations: 4.609 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.006687, allocations: 60.02 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.006688, allocations: 0 / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of Templates: time 0.00186/0.008548, allocations: 481.7 kB / 0.7651 GB, free: 1.312 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.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.095324133057147]