Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001053/0.001053, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002564, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001072/0.001072, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002444, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8718/0.8718, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07612/0.9479, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.268/2.268, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2416/2.51, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.215e-05, allocations: 8.422 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1304/0.1304, allocations: 149.4 MB / 0.9649 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1331, allocations: 2.532 MB / 0.9673 GB, free: 9.934 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.1333, allocations: 27.75 kB / 0.9674 GB, free: 9.906 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1337, allocations: 222.3 kB / 0.9676 GB, free: 9.688 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009856/0.1347, allocations: 0.9088 MB / 0.9685 GB, free: 8.773 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.1354, allocations: 0.6196 MB / 0.9691 GB, free: 8.152 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1366, allocations: 1.65 MB / 0.9707 GB, free: 6.492 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.1373, allocations: 0.8939 MB / 0.9716 GB, free: 5.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.1382, allocations: 1.223 MB / 0.9728 GB, free: 4.344 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006377/0.1388, allocations: 0.7598 MB / 0.9735 GB, free: 3.582 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1389, allocations: 100 kB / 0.9736 GB, free: 3.484 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.1395, allocations: 451.1 kB / 0.974 GB, free: 3.043 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.1397, allocations: 291.2 kB / 0.9743 GB, free: 2.758 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1399, allocations: 311.5 kB / 0.9746 GB, free: 2.453 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007956/0.1407, allocations: 0.9968 MB / 0.9756 GB, free: 1.453 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.1407, allocations: 0 / 0.9756 GB, free: 1.453 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1407, allocations: 0 / 0.9756 GB, free: 1.453 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.1407, allocations: 4 kB / 0.9756 GB, free: 1.449 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001484/0.1422, allocations: 1.285 MB / 0.9768 GB, free: 140 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.1422, allocations: 12.03 kB / 0.9768 GB, free: 128 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1436, allocations: 0.5866 MB / 0.9774 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.1441, allocations: 472.7 kB / 0.9779 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.1442, allocations: 40.98 kB / 0.9779 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.1443, allocations: 48 kB / 0.9779 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.145, allocations: 0.8424 MB / 0.9788 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1451, allocations: 3.938 kB / 0.9788 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.1451, allocations: 20 kB / 0.9788 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.1451, allocations: 27.98 kB / 0.9788 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.1456, allocations: 385.3 kB / 0.9792 GB, free: 13.59 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1481, allocations: 2.955 MB / 0.9821 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.1485, allocations: 347.1 kB / 0.9824 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.1487, allocations: 219.5 kB / 0.9826 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.1489, allocations: 56.44 kB / 0.9827 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1489, allocations: 47 kB / 0.9827 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001123/0.1501, allocations: 0.6514 MB / 0.9833 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=50): time 1.913e-06/0.1501, allocations: 0 / 0.9833 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=50): time 0.006751/0.1568, allocations: 2.307 MB / 0.9856 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.1568, allocations: 59.91 kB / 0.9857 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.1572, allocations: 0.5544 MB / 0.9862 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.1572, allocations: 33.7 kB / 0.9862 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1573, allocations: 309.8 kB / 0.9865 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1575, allocations: 194.3 kB / 0.9867 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.1577, allocations: 158.4 kB / 0.9869 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.1578, allocations: 390.5 kB / 0.9872 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.158, allocations: 164.7 kB / 0.9874 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1583, allocations: 443.4 kB / 0.9878 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.1589, allocations: 0.6706 MB / 0.9885 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1589, allocations: 7.938 kB / 0.9885 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004102/0.163, allocations: 1.664 MB / 0.9901 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.163, allocations: 14.31 kB / 0.9901 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.163, allocations: 8 kB / 0.9901 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00548/0.1685, allocations: 2.092 MB / 0.9922 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.1689, allocations: 199.7 kB / 0.9924 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.1734, allocations: 4.098 MB / 0.9964 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.1738, allocations: 51.95 kB / 0.9964 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.1738, allocations: 47.91 kB / 0.9965 GB, free: 11.28 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.174, allocations: 160.4 kB / 0.9966 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1741, allocations: 71.81 kB / 0.9967 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.1763, allocations: 1.2 MB / 0.9978 GB, free: 9.816 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1763, allocations: 4 kB / 0.9979 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1763, allocations: 4 kB / 0.9979 GB, free: 9.809 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1763, allocations: 3.984 kB / 0.9979 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.1787, allocations: 1.63 MB / 0.9995 GB, free: 8.117 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1787, allocations: 4.031 kB / 0.9995 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.1791, allocations: 135.7 kB / 0.9996 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.1792, allocations: 103.4 kB / 0.9997 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.1815, allocations: 1.386 MB / 1.001 GB, free: 6.484 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.1815, allocations: 19.98 kB / 1.001 GB, free: 6.465 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.1841, allocations: 3.244 MB / 1.004 GB, free: 3.031 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1841, allocations: 4 kB / 1.004 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.1861, allocations: 1.379 MB / 1.006 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.1862, allocations: 16 kB / 1.006 GB, free: 1.586 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.1866, allocations: 43.95 kB / 1.006 GB, free: 1.543 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1867, allocations: 48.34 kB / 1.006 GB, free: 1.492 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.1867, allocations: 19.98 kB / 1.006 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001638/0.1869, allocations: 260.5 kB / 1.006 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1869, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005562/0.1874, allocations: 315.8 kB / 1.006 GB, free: 0.9141 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.1876, allocations: 128.2 kB / 1.006 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.1892, allocations: 1.072 MB / 1.007 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.1892, allocations: 12 kB / 1.007 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.1899, allocations: 0.7331 MB / 1.008 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.1912, allocations: 2.182 MB / 1.01 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.1957, allocations: 1.411 MB / 1.012 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1959, allocations: 192.9 kB / 1.012 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003245/0.1962, allocations: 126.2 kB / 1.012 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.1967, allocations: 296.9 kB / 1.012 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.1967, allocations: 0 / 1.012 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of Templates: time 0.02221/0.2189, allocations: 24.62 MB / 1.036 GB, free: 2.035 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.517997309565544]