Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001277/0.001277, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001475/0.001475, allocations: 219.7 kB / 23.01 MB, free: 4.609 MB / 14.72 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002437/0.002437, allocations: 289.1 kB / 313.5 MB, free: 2.855 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.15/1.15, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") translateModel(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 109 kB / 0.7408 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1764, allocations: 95.39 MB / 0.8339 GB, free: 8.23 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002572/0.1789, allocations: 1.566 MB / 0.8355 GB, free: 6.652 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.1798, allocations: 0.5043 MB / 0.836 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.1799, allocations: 4 kB / 0.836 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1799, allocations: 11.88 kB / 0.836 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.1799, allocations: 3.938 kB / 0.836 GB, free: 6.125 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1802, allocations: 31.91 kB / 0.836 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.1803, allocations: 51.77 kB / 0.8361 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.1804, allocations: 15.98 kB / 0.8361 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1805, allocations: 27.92 kB / 0.8361 GB, free: 6 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.1806, allocations: 27.84 kB / 0.8361 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1806, allocations: 4 kB / 0.8361 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 3.763e-05/0.1806, allocations: 8 kB / 0.8361 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1806, allocations: 12 kB / 0.8361 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1807, allocations: 19.86 kB / 0.8362 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1808, allocations: 51.75 kB / 0.8362 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1808, allocations: 0 / 0.8362 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1808, allocations: 3.938 kB / 0.8362 GB, free: 5.875 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1808, allocations: 0 / 0.8362 GB, free: 5.875 MB / 0.5763 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.0005044/0.1813, allocations: 294.1 kB / 0.8365 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1813, allocations: 9.344 kB / 0.8365 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.1815, allocations: 16.92 kB / 0.8365 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1817, allocations: 126.4 kB / 0.8366 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1817, allocations: 384 / 0.8366 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1817, allocations: 4.375 kB / 0.8366 GB, free: 5.383 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1819, allocations: 65.97 kB / 0.8367 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1819, allocations: 0 / 0.8367 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1819, allocations: 8 kB / 0.8367 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1819, allocations: 0 / 0.8367 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1821, allocations: 47.91 kB / 0.8368 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1825, allocations: 267.8 kB / 0.837 GB, free: 4.953 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.1828, allocations: 62.53 kB / 0.8371 GB, free: 4.883 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1829, allocations: 28.84 kB / 0.8371 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1829, allocations: 4 kB / 0.8371 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1829, allocations: 34.56 kB / 0.8371 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1829, allocations: 3.938 kB / 0.8371 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0003663/0.1833, allocations: 81.61 kB / 0.8372 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1833, allocations: 55.41 kB / 0.8373 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1834, allocations: 128.2 kB / 0.8374 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1835, allocations: 29.7 kB / 0.8374 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1835, allocations: 88.14 kB / 0.8375 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1835, allocations: 7.906 kB / 0.8375 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1836, allocations: 21.7 kB / 0.8375 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1837, allocations: 314.8 kB / 0.8378 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.1838, allocations: 19.92 kB / 0.8379 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.571e-05/0.1839, allocations: 19.98 kB / 0.8379 GB, free: 3.996 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.184, allocations: 45.11 kB / 0.8379 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.184, allocations: 0 / 0.8379 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001965/0.1842, allocations: 69.64 kB / 0.838 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1842, allocations: 6.344 kB / 0.838 GB, free: 3.871 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1842, allocations: 0 / 0.838 GB, free: 3.871 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1842, allocations: 4 kB / 0.838 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.1843, allocations: 4 kB / 0.838 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1843, allocations: 7.938 kB / 0.838 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.1844, allocations: 15.94 kB / 0.838 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1844, allocations: 4 kB / 0.838 GB, free: 3.836 MB / 0.5763 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 8.237e-05/0.1845, allocations: 110.4 kB / 0.8381 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1845, allocations: 4 kB / 0.8381 GB, free: 3.715 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.1845, allocations: 11.98 kB / 0.8381 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1845, allocations: 4 kB / 0.8382 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1845, allocations: 7.938 kB / 0.8382 GB, free: 3.684 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1845, allocations: 4 kB / 0.8382 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1847, allocations: 144.6 kB / 0.8383 GB, free: 3.496 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1847, allocations: 0 / 0.8383 GB, free: 3.496 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.1848, allocations: 11.98 kB / 0.8383 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1848, allocations: 0 / 0.8383 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1848, allocations: 0 / 0.8383 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1848, allocations: 0 / 0.8383 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1848, allocations: 4 kB / 0.8383 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.185, allocations: 175.4 kB / 0.8385 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.185, allocations: 11.89 kB / 0.8385 GB, free: 3.281 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1851, allocations: 3.938 kB / 0.8385 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.1851, allocations: 7.984 kB / 0.8385 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.1852, allocations: 0 / 0.8385 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1852, allocations: 0 / 0.8385 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.1852, allocations: 100.5 kB / 0.8386 GB, free: 3.172 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1852, allocations: 0 / 0.8386 GB, free: 3.172 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002099/0.1854, allocations: 15.94 kB / 0.8386 GB, free: 3.156 MB / 0.5763 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.567e-05/0.1855, allocations: 91.25 kB / 0.8387 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1858, allocations: 43.95 kB / 0.8387 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1858, allocations: 0 / 0.8387 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.1858, allocations: 23.92 kB / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1861, allocations: 0 / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.1864, allocations: 179.3 kB / 0.8389 GB, free: 2.789 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1867, allocations: 0.6846 MB / 0.8396 GB, free: 2.078 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1868, allocations: 11.42 kB / 0.8396 GB, free: 2.066 MB / 0.5763 GB Notification: Performance of SimCode: time 3.11e-07/0.1868, allocations: 0 / 0.8396 GB, free: 2.066 MB / 0.5763 GB Notification: Performance of Templates: time 0.002093/0.1889, allocations: 0.7478 MB / 0.8403 GB, free: 1.32 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & ./BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9393292621243745] Failed to read output from testmodel.py, exit status != 0: 0.19587885914370418 0.20992062600000003 0.026293176 Calling exit ...