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.0009299/0.0009299, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002162, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008091/0.0008091, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001879, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.271/1.271, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.424, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.718/2.718, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3206/3.038, allocations: 145.9 MB / 0.817 GB, free: 4.227 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.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.31e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1717/0.1717, allocations: 149.5 MB / 0.9642 GB, free: 12.88 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003982/0.1757, allocations: 2.508 MB / 0.9667 GB, free: 10.36 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.176, allocations: 31.75 kB / 0.9667 GB, free: 10.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.1766, allocations: 226.3 kB / 0.9669 GB, free: 10.11 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1781, allocations: 0.9088 MB / 0.9678 GB, free: 9.195 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.1794, allocations: 0.6156 MB / 0.9684 GB, free: 8.578 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1808, allocations: 1.654 MB / 0.97 GB, free: 6.918 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.1816, allocations: 0.8822 MB / 0.9709 GB, free: 6.012 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1828, allocations: 1.223 MB / 0.9721 GB, free: 4.789 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.1835, allocations: 0.7559 MB / 0.9728 GB, free: 4.031 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1836, allocations: 104 kB / 0.9729 GB, free: 3.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007407/0.1844, allocations: 459 kB / 0.9734 GB, free: 3.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.1846, allocations: 291.2 kB / 0.9737 GB, free: 3.195 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.1849, allocations: 303.5 kB / 0.9739 GB, free: 2.898 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1859, allocations: 0.9969 MB / 0.9749 GB, free: 1.898 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.16e-05/0.1859, allocations: 0 / 0.9749 GB, free: 1.898 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1859, allocations: 0 / 0.9749 GB, free: 1.898 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.835e-05/0.186, allocations: 0 / 0.9749 GB, free: 1.898 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.001828/0.1878, allocations: 1.296 MB / 0.9762 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1878, allocations: 8.031 kB / 0.9762 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.1894, allocations: 0.5827 MB / 0.9768 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.19, allocations: 472.7 kB / 0.9772 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.19, allocations: 40.98 kB / 0.9772 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/0.1901, allocations: 56 kB / 0.9773 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.191, allocations: 0.8385 MB / 0.9781 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1911, allocations: 4 kB / 0.9781 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.1911, allocations: 23.94 kB / 0.9781 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.1912, allocations: 23.98 kB / 0.9782 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.1917, allocations: 393.3 kB / 0.9785 GB, free: 14.02 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.002857/0.1945, allocations: 2.951 MB / 0.9814 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.195, allocations: 346.8 kB / 0.9818 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.1954, allocations: 217.1 kB / 0.982 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.1956, allocations: 64.42 kB / 0.982 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1956, allocations: 35.06 kB / 0.9821 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001144/0.1968, allocations: 0.6631 MB / 0.9827 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.1968, allocations: 0 / 0.9827 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=50): time 0.006478/0.2033, allocations: 2.307 MB / 0.985 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2033, allocations: 55.91 kB / 0.985 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.2037, allocations: 0.5544 MB / 0.9856 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.2037, allocations: 37.7 kB / 0.9856 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2039, allocations: 313.8 kB / 0.9859 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.204, allocations: 182.3 kB / 0.9861 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2042, allocations: 166.4 kB / 0.9862 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2043, allocations: 390.5 kB / 0.9866 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.2046, allocations: 164.7 kB / 0.9868 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.2049, allocations: 446.8 kB / 0.9872 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.2055, allocations: 0.6438 MB / 0.9878 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2055, allocations: 4 kB / 0.9878 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004256/0.2098, allocations: 1.664 MB / 0.9894 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.2098, allocations: 8 kB / 0.9894 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.2098, allocations: 12.12 kB / 0.9895 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00518/0.215, allocations: 2.095 MB / 0.9915 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.2155, allocations: 195.6 kB / 0.9917 GB, free: 132 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/0.2205, allocations: 4.102 MB / 0.9957 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.221, allocations: 51.95 kB / 0.9957 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.2212, allocations: 47.92 kB / 0.9958 GB, free: 11.73 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.0002315/0.2214, allocations: 160.5 kB / 0.9959 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.2215, allocations: 63.86 kB / 0.996 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.2236, allocations: 1.208 MB / 0.9972 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2236, allocations: 8 kB / 0.9972 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2236, allocations: 0 / 0.9972 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2236, allocations: 7.984 kB / 0.9972 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.2262, allocations: 1.622 MB / 0.9988 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2262, allocations: 192 / 0.9988 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.2266, allocations: 139.8 kB / 0.9989 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.2268, allocations: 99.38 kB / 0.999 GB, free: 8.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.2292, allocations: 1.39 MB / 1 GB, free: 6.941 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.2292, allocations: 15.98 kB / 1 GB, free: 6.926 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.2323, allocations: 3.245 MB / 1.004 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.2323, allocations: 7.984 kB / 1.004 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.2345, allocations: 1.367 MB / 1.005 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.2346, allocations: 12 kB / 1.005 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2349, allocations: 47.89 kB / 1.005 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.235, allocations: 52.39 kB / 1.005 GB, free: 1.957 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.235, allocations: 19.98 kB / 1.005 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001941/0.2352, allocations: 260.5 kB / 1.005 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2352, allocations: 0 / 1.005 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007492/0.236, allocations: 315.8 kB / 1.006 GB, free: 1.379 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.0002796/0.2363, allocations: 124.6 kB / 1.006 GB, free: 1.246 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.238, allocations: 1.066 MB / 1.007 GB, free: 160 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/0.2381, allocations: 12 kB / 1.007 GB, free: 148 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.2389, allocations: 0.7011 MB / 1.007 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.2399, allocations: 452.5 kB / 1.008 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.2447, allocations: 1.436 MB / 1.009 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.2449, allocations: 192.9 kB / 1.009 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.2452, allocations: 134.2 kB / 1.01 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007132/0.2459, allocations: 285.1 kB / 1.01 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of SimCode: time 1.282e-06/0.2459, allocations: 0 / 1.01 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of Templates: time 0.02669/0.2726, allocations: 25.15 MB / 1.034 GB, free: 4.117 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0805135779082775]