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.001185/0.001185, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00177/0.002955, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009096/0.0009096, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.00202, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9345/0.9345, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07954/1.014, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.809/1.809, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4715/2.281, allocations: 123.3 MB / 0.7283 GB, free: 5.762 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.472e-06/1.472e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.295e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1416/0.1416, allocations: 149.4 MB / 0.8756 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.1453, allocations: 2.379 MB / 0.8779 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.1457, allocations: 27.75 kB / 0.8779 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.1462, allocations: 226.3 kB / 0.8781 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.1475, allocations: 0.8427 MB / 0.8789 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1486, allocations: 0.6138 MB / 0.8795 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.1502, allocations: 1.622 MB / 0.8811 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.1512, allocations: 0.879 MB / 0.882 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.1525, allocations: 1.21 MB / 0.8832 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.1533, allocations: 0.7442 MB / 0.8839 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1535, allocations: 96 kB / 0.884 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.1542, allocations: 415.1 kB / 0.8844 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.1545, allocations: 287.2 kB / 0.8847 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.1548, allocations: 295.5 kB / 0.8849 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1559, allocations: 0.9541 MB / 0.8859 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.1559, allocations: 0 / 0.8859 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1559, allocations: 0 / 0.8859 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.1559, allocations: 0 / 0.8859 GB, free: 4.09 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.001769/0.1577, allocations: 1.281 MB / 0.8871 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1577, allocations: 8.031 kB / 0.8871 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.1587, allocations: 349.3 kB / 0.8875 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.1594, allocations: 480.7 kB / 0.8879 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.1594, allocations: 41 kB / 0.888 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/0.1595, allocations: 48 kB / 0.888 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.1605, allocations: 0.7527 MB / 0.8887 GB, free: 0.9883 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1605, allocations: 4 kB / 0.8887 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.1606, allocations: 24 kB / 0.8888 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.1606, allocations: 23.94 kB / 0.8888 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.1611, allocations: 353.3 kB / 0.8891 GB, free: 0.5898 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.002752/0.1639, allocations: 2.85 MB / 0.8919 GB, free: 13.65 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.1642, allocations: 283.1 kB / 0.8922 GB, free: 13.36 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.1645, allocations: 197.1 kB / 0.8924 GB, free: 13.16 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.1648, allocations: 108.4 kB / 0.8925 GB, free: 13.06 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1648, allocations: 47.06 kB / 0.8925 GB, free: 13 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/0.1659, allocations: 0.663 MB / 0.8932 GB, free: 12.34 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=50): time 2.144e-06/0.1659, allocations: 3.938 kB / 0.8932 GB, free: 12.34 MB / 0.8699 GB Notification: Performance of matching and sorting (n=50): time 0.006151/0.1721, allocations: 2.249 MB / 0.8954 GB, free: 10.07 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.1723, allocations: 55.91 kB / 0.8954 GB, free: 10.01 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.1726, allocations: 0.5467 MB / 0.896 GB, free: 9.449 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.1726, allocations: 33.7 kB / 0.896 GB, free: 9.41 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1728, allocations: 313.8 kB / 0.8963 GB, free: 9.098 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1729, allocations: 190.4 kB / 0.8965 GB, free: 8.91 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.173, allocations: 158.4 kB / 0.8966 GB, free: 8.75 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.1731, allocations: 390.5 kB / 0.897 GB, free: 8.359 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.1733, allocations: 140.7 kB / 0.8971 GB, free: 8.219 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1736, allocations: 422.8 kB / 0.8975 GB, free: 7.691 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.1741, allocations: 0.6394 MB / 0.8982 GB, free: 6.949 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1741, allocations: 0 / 0.8982 GB, free: 6.949 MB / 0.8699 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003872/0.178, allocations: 1.625 MB / 0.8997 GB, free: 5.305 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.178, allocations: 8 kB / 0.8997 GB, free: 5.297 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.178, allocations: 8 kB / 0.8998 GB, free: 5.289 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.1829, allocations: 2.096 MB / 0.9018 GB, free: 3.184 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1832, allocations: 155.7 kB / 0.9019 GB, free: 3.031 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.1888, allocations: 4.096 MB / 0.9059 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.1892, allocations: 27.98 kB / 0.906 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.1893, allocations: 43.94 kB / 0.906 GB, free: 14.66 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.0002128/0.1895, allocations: 152.5 kB / 0.9062 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1896, allocations: 71.86 kB / 0.9062 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/0.1923, allocations: 1.18 MB / 0.9074 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1923, allocations: 8 kB / 0.9074 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1923, allocations: 4 kB / 0.9074 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1923, allocations: 3.984 kB / 0.9074 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1947, allocations: 1.564 MB / 0.9089 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1947, allocations: 12.17 kB / 0.9089 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.195, allocations: 91.89 kB / 0.909 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.1951, allocations: 103.3 kB / 0.9091 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/0.1976, allocations: 1.394 MB / 0.9105 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.1976, allocations: 12 kB / 0.9105 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.2002, allocations: 3.249 MB / 0.9137 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2002, allocations: 3.938 kB / 0.9137 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.2021, allocations: 1.328 MB / 0.915 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.2022, allocations: 12 kB / 0.915 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2024, allocations: 24.05 kB / 0.915 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2025, allocations: 44.41 kB / 0.915 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2026, allocations: 16 kB / 0.9151 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001867/0.2027, allocations: 256.5 kB / 0.9153 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2027, allocations: 0 / 0.9153 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007128/0.2035, allocations: 307.7 kB / 0.9156 GB, free: 4.52 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.0002479/0.2037, allocations: 144.1 kB / 0.9157 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.2052, allocations: 1.03 MB / 0.9167 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.2053, allocations: 8 kB / 0.9167 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.206, allocations: 0.7188 MB / 0.9175 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.2073, allocations: 2.118 MB / 0.9195 GB, free: 52 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.2118, allocations: 1.384 MB / 0.9209 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.212, allocations: 196.8 kB / 0.9211 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003234/0.2123, allocations: 126.2 kB / 0.9212 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.2128, allocations: 273.1 kB / 0.9214 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of SimCode: time 1.673e-06/0.2128, allocations: 0 / 0.9214 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of Templates: time 0.02284/0.2356, allocations: 22.53 MB / 0.9434 GB, free: 7.848 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.338553077541292]