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.0009567/0.0009567, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009719/0.0009719, allocations: 165.9 kB / 24.86 MB, free: 9.254 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 / 205.3 MB, free: 5.492 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.921/1.921, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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.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.372e-06/1.372e-06, allocations: 0 / 0.8127 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.798e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002326/0.002354, allocations: 1.577 MB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.003136, allocations: 489.2 kB / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.003197, allocations: 0 / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.003226, allocations: 3.938 kB / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.003287, allocations: 21.06 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.003536, allocations: 36.53 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.003636, allocations: 39.86 kB / 0.8148 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.003728, allocations: 21.22 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.003868, allocations: 35.97 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.003901, allocations: 19.91 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.003915, allocations: 4.875 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-05/0.003955, allocations: 8 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.003967, allocations: 4 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.003987, allocations: 16.95 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.004087, allocations: 43.77 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004089, allocations: 1.625 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00409, allocations: 0 / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004095, allocations: 0 / 0.815 GB, free: 15.16 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.0003499/0.004445, allocations: 388.4 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.00448, allocations: 13.56 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.004583, allocations: 20.88 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.004705, allocations: 120.5 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.004723, allocations: 9.734 kB / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.004732, allocations: 8.375 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004835, allocations: 70.86 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004841, allocations: 192 / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.004847, allocations: 2.125 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.004853, allocations: 3.938 kB / 0.8156 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.004876, allocations: 11.98 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.005133, allocations: 257.5 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.005305, allocations: 50.98 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.005328, allocations: 15.73 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.005342, allocations: 5.094 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.005361, allocations: 33.39 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.005363, allocations: 0 / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001243/0.005487, allocations: 54.36 kB / 0.816 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.005515, allocations: 55.41 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.00558, allocations: 172.1 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.00559, allocations: 25.7 kB / 0.8162 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.005634, allocations: 138.9 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.00565, allocations: 7.906 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.005678, allocations: 19.38 kB / 0.8164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.005857, allocations: 0.4928 MB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.005871, allocations: 0 / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.291e-05/0.005884, allocations: 12.66 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.005914, allocations: 15.67 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005915, allocations: 0.5 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.124e-05/0.005977, allocations: 47.14 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.00599, allocations: 7.984 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.005995, allocations: 0 / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/0.006003, allocations: 4 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.00605, allocations: 8.625 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.006053, allocations: 0 / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.006074, allocations: 8.891 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.006082, allocations: 3.984 kB / 0.817 GB, free: 12.92 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.057e-05/0.006142, allocations: 153.3 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.006161, allocations: 8.531 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.006189, allocations: 8 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006191, allocations: 4.812 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006193, allocations: 0 / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006195, allocations: 1.266 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.006296, allocations: 109.2 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006297, allocations: 0 / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.006324, allocations: 9.203 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006327, allocations: 3.984 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.006332, allocations: 7.875 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006333, allocations: 4.969 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006334, allocations: 0 / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.006436, allocations: 191.9 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.006443, allocations: 2.312 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.006452, allocations: 11.94 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.006487, allocations: 3.984 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.006519, allocations: 8 kB / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006524, allocations: 0 / 0.8175 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.006565, allocations: 131.2 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006565, allocations: 3.406 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001482/0.006714, allocations: 11.95 kB / 0.8176 GB, free: 12.21 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.36e-05/0.006807, allocations: 99.19 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.006874, allocations: 19.67 kB / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006876, allocations: 0 / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.006894, allocations: 15.62 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.00709, allocations: 11.94 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.007462, allocations: 155.5 kB / 0.8179 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.007494, allocations: 59.91 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.007517, allocations: 4.562 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.007564, allocations: 71.2 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.007564, allocations: 0 / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.002466/0.01003, allocations: 0.4956 MB / 0.8185 GB, free: 11.23 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: 5.044474798254669]