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.001045/0.001045, allocations: 83.59 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.00114/0.00114, allocations: 165 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 0.912/0.912, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.83/1.83, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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.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.212e-06/1.212e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.512e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001867/0.001882, allocations: 1.587 MB / 0.813 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006572/0.002539, allocations: 0.489 MB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.002596, allocations: 4.656 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.002627, allocations: 3.938 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.002678, allocations: 8.75 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.002931, allocations: 32.91 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003041, allocations: 51.83 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.003132, allocations: 12 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.003271, allocations: 37.48 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.0033, allocations: 15.98 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.003315, allocations: 4 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.003355, allocations: 4 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.003368, allocations: 13.45 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.00339, allocations: 19.92 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.003488, allocations: 35.83 kB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00349, allocations: 0 / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003491, allocations: 1.25 kB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003494, allocations: 0 / 0.8138 GB, free: 15.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003758/0.00387, allocations: 393.7 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003903, allocations: 8.031 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.004004, allocations: 12.89 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004134, allocations: 129.2 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.004153, allocations: 4.312 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.004165, allocations: 12.86 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.00429, allocations: 68.41 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004298, allocations: 192 / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.004312, allocations: 8.359 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.00432, allocations: 3.938 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.004353, allocations: 8.625 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.004635, allocations: 284.6 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.004772, allocations: 54.98 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.004794, allocations: 12.42 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.004806, allocations: 4.594 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.004827, allocations: 33.39 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004828, allocations: 1.344 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001405/0.004969, allocations: 53.58 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.004995, allocations: 55.41 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.503e-05/0.00506, allocations: 171.7 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.005324, allocations: 29.7 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.005364, allocations: 134.9 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.00538, allocations: 11.91 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.005407, allocations: 19.38 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.005505, allocations: 0.4906 MB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.005521, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.005534, allocations: 8 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.005566, allocations: 19.67 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.005567, allocations: 0 / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.122e-05/0.005629, allocations: 53.56 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005641, allocations: 7.438 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005645, allocations: 0 / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.005658, allocations: 0 / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.947e-05/0.005697, allocations: 8 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005702, allocations: 0 / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.005722, allocations: 7.938 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.005729, allocations: 4 kB / 0.8158 GB, free: 13.2 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 5.552e-05/0.005784, allocations: 156.6 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.005798, allocations: 11.88 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.005823, allocations: 4.906 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005824, allocations: 0 / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.005827, allocations: 0.5 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.005831, allocations: 4.891 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.005923, allocations: 136.6 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005924, allocations: 0.5625 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.005947, allocations: 13.12 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005948, allocations: 3.938 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005955, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005956, allocations: 0.75 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.005957, allocations: 3.984 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.02e-05/0.006047, allocations: 196.4 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-06/0.006055, allocations: 7.938 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006064, allocations: 2.094 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.006096, allocations: 4 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.006121, allocations: 4 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.006125, allocations: 3.984 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.006158, allocations: 127.2 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006158, allocations: 0.5312 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001393/0.006297, allocations: 11.95 kB / 0.8165 GB, free: 12.45 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 6.197e-05/0.006359, allocations: 104.9 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.006437, allocations: 15.69 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.006438, allocations: 0 / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.006459, allocations: 20.92 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.006624, allocations: 8 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.007018, allocations: 155.1 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.00705, allocations: 60.47 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.786e-05/0.007068, allocations: 0 / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.007095, allocations: 16.47 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.007095, allocations: 0 / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.001885/0.008981, allocations: 481.3 kB / 0.8173 GB, free: 11.57 MB / 0.7761 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 -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: 4.903744496870786]