Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009425/0.0009425, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.00228, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008944/0.0008944, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.002071, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9639/0.9639, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09667/1.061, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.746/1.746, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4806/2.227, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 4.484 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.45e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1688/0.1688, allocations: 149.4 MB / 0.8752 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00425/0.1731, allocations: 2.37 MB / 0.8776 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006658/0.1738, allocations: 27.75 kB / 0.8776 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.1743, allocations: 234.2 kB / 0.8778 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.1761, allocations: 0.8349 MB / 0.8786 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1773, allocations: 0.6235 MB / 0.8792 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.179, allocations: 1.619 MB / 0.8808 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008966/0.1799, allocations: 0.879 MB / 0.8817 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.1812, allocations: 1.202 MB / 0.8828 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.182, allocations: 0.7442 MB / 0.8836 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1822, allocations: 95.94 kB / 0.8837 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007338/0.1829, allocations: 423 kB / 0.8841 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.1831, allocations: 283.3 kB / 0.8843 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1835, allocations: 295.5 kB / 0.8846 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1847, allocations: 0.954 MB / 0.8855 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.1847, allocations: 0 / 0.8855 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1848, allocations: 8 kB / 0.8856 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.034e-05/0.1848, allocations: 0 / 0.8856 GB, free: 4.188 MB / 0.8542 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.001509/0.1863, allocations: 1.269 MB / 0.8868 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1863, allocations: 8.031 kB / 0.8868 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.1871, allocations: 357.2 kB / 0.8871 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.1876, allocations: 472.8 kB / 0.8876 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1877, allocations: 37 kB / 0.8876 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.1877, allocations: 52 kB / 0.8877 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.1884, allocations: 0.7527 MB / 0.8884 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1884, allocations: 7.938 kB / 0.8884 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.1885, allocations: 20 kB / 0.8884 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.1885, allocations: 23.98 kB / 0.8885 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.1889, allocations: 353.3 kB / 0.8888 GB, free: 0.7031 MB / 0.8542 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.002395/0.1913, allocations: 2.858 MB / 0.8916 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1916, allocations: 280.8 kB / 0.8919 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.1918, allocations: 193.1 kB / 0.892 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.1923, allocations: 120.4 kB / 0.8922 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1923, allocations: 47 kB / 0.8922 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/0.1935, allocations: 0.6592 MB / 0.8928 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 3.306e-06/0.1935, allocations: 0 / 0.8928 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.006093/0.1996, allocations: 2.249 MB / 0.895 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1996, allocations: 59.91 kB / 0.8951 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.2, allocations: 0.5389 MB / 0.8956 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.2001, allocations: 33.7 kB / 0.8957 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.2002, allocations: 313.8 kB / 0.896 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2003, allocations: 182.4 kB / 0.8961 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.2005, allocations: 162.4 kB / 0.8963 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2006, allocations: 394.5 kB / 0.8967 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2008, allocations: 144.7 kB / 0.8968 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2011, allocations: 422.8 kB / 0.8972 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.2015, allocations: 0.6165 MB / 0.8978 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.2016, allocations: 7.938 kB / 0.8978 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004055/0.2056, allocations: 1.617 MB / 0.8994 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.2056, allocations: 11.98 kB / 0.8994 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.2057, allocations: 8 kB / 0.8994 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/0.2106, allocations: 2.096 MB / 0.9015 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.211, allocations: 151.8 kB / 0.9016 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.2157, allocations: 4.112 MB / 0.9056 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.2162, allocations: 24 kB / 0.9056 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/0.2162, allocations: 43.92 kB / 0.9057 GB, free: 14.79 MB / 0.8855 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.0002622/0.2165, allocations: 156.4 kB / 0.9058 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2166, allocations: 67.81 kB / 0.9059 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.2188, allocations: 1.176 MB / 0.907 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2188, allocations: 4 kB / 0.9071 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2188, allocations: 4 kB / 0.9071 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.2188, allocations: 0 / 0.9071 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.2211, allocations: 1.576 MB / 0.9086 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2211, allocations: 0 / 0.9086 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2214, allocations: 99.83 kB / 0.9087 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.2215, allocations: 99.38 kB / 0.9088 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.2238, allocations: 1.386 MB / 0.9101 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.2238, allocations: 12 kB / 0.9101 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.2268, allocations: 3.252 MB / 0.9133 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2268, allocations: 0 / 0.9133 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.2287, allocations: 1.32 MB / 0.9146 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2288, allocations: 16.06 kB / 0.9146 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.2291, allocations: 19.98 kB / 0.9146 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2292, allocations: 52.34 kB / 0.9147 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.2292, allocations: 12 kB / 0.9147 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001997/0.2294, allocations: 260.5 kB / 0.915 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.2294, allocations: 0 / 0.915 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007352/0.2302, allocations: 303.7 kB / 0.9152 GB, free: 4.664 MB / 0.8855 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 (49): * Single equations (assignments): 47 * 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.000249/0.2304, allocations: 140.2 kB / 0.9154 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.2319, allocations: 1.036 MB / 0.9164 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/0.232, allocations: 12 kB / 0.9164 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.2327, allocations: 0.6714 MB / 0.9171 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/0.2335, allocations: 440.1 kB / 0.9175 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.2382, allocations: 1.393 MB / 0.9188 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.2383, allocations: 196.8 kB / 0.919 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003784/0.2387, allocations: 122.2 kB / 0.9191 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.2392, allocations: 285.1 kB / 0.9194 GB, free: 284 kB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/0.2392, allocations: 0 / 0.9194 GB, free: 284 kB / 0.8855 GB Notification: Performance of Templates: time 0.02476/0.2639, allocations: 22.72 MB / 0.9416 GB, free: 9.91 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw/Buildings_12_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: 5.532188547775149]