Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001835/0.001835, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001972/0.001972, allocations: 161.7 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.915/2.915, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.363e-05/3.57e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2738/0.2738, allocations: 189.8 MB / 0.9717 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008471/0.2823, allocations: 4.119 MB / 0.9757 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.2833, allocations: 27.75 kB / 0.9757 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.285, allocations: 468.9 kB / 0.9762 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.29, allocations: 1.616 MB / 0.9777 GB, free: 8.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004451/0.2944, allocations: 1.44 MB / 0.9791 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003304/0.2977, allocations: 1.662 MB / 0.9808 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.2996, allocations: 0.9236 MB / 0.9817 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.3025, allocations: 1.212 MB / 0.9828 GB, free: 2.941 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3042, allocations: 0.7948 MB / 0.9836 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.3044, allocations: 100 kB / 0.9837 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.307, allocations: 1.114 MB / 0.9848 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004971/0.3075, allocations: 386.9 kB / 0.9852 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006447/0.3082, allocations: 399.1 kB / 0.9856 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.3116, allocations: 1.772 MB / 0.9873 GB, free: 14.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3116, allocations: 0 / 0.9873 GB, free: 14.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3116, allocations: 4 kB / 0.9873 GB, free: 14.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.3116, allocations: 0 / 0.9873 GB, free: 14.38 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.003139/0.3147, allocations: 1.327 MB / 0.9886 GB, free: 13.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3148, allocations: 8.031 kB / 0.9886 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.3165, allocations: 322.8 kB / 0.9889 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.3177, allocations: 0.5644 MB / 0.9895 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.3177, allocations: 37 kB / 0.9895 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3179, allocations: 55.94 kB / 0.9895 GB, free: 12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.3197, allocations: 1.022 MB / 0.9905 GB, free: 10.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.3197, allocations: 0 / 0.9905 GB, free: 10.87 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.3198, allocations: 20 kB / 0.9906 GB, free: 10.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.3198, allocations: 31.92 kB / 0.9906 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.3215, allocations: 0.8314 MB / 0.9914 GB, free: 9.988 MB / 0.948 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.006729/0.3282, allocations: 4.574 MB / 0.9959 GB, free: 5.273 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3293, allocations: 0.4929 MB / 0.9964 GB, free: 4.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/0.3301, allocations: 412.9 kB / 0.9967 GB, free: 4.359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007466/0.3308, allocations: 132.4 kB / 0.9969 GB, free: 4.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.3308, allocations: 41.89 kB / 0.9969 GB, free: 4.18 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002559/0.3334, allocations: 0.6321 MB / 0.9975 GB, free: 3.547 MB / 0.948 GB Notification: Performance of pre-optimization done (n=50): time 2.655e-06/0.3334, allocations: 0 / 0.9975 GB, free: 3.547 MB / 0.948 GB Notification: Performance of matching and sorting (n=50): time 0.01725/0.3507, allocations: 3.102 MB / 1.001 GB, free: 440 kB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.3507, allocations: 59.91 kB / 1.001 GB, free: 368 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.3518, allocations: 0.6598 MB / 1.001 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.352, allocations: 37.7 kB / 1.001 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.3524, allocations: 411.8 kB / 1.002 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3526, allocations: 190.4 kB / 1.002 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.353, allocations: 167.7 kB / 1.002 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003624/0.3533, allocations: 0.5781 MB / 1.003 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.354, allocations: 328.7 kB / 1.003 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.3548, allocations: 497.9 kB / 1.003 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.3564, allocations: 0.8113 MB / 1.004 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3564, allocations: 0 / 1.004 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01109/0.3675, allocations: 2.17 MB / 1.006 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3675, allocations: 4 kB / 1.006 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3676, allocations: 4 kB / 1.006 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/0.3808, allocations: 2.348 MB / 1.009 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.3814, allocations: 99.8 kB / 1.009 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.3958, allocations: 7.038 MB / 1.016 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.3967, allocations: 16 kB / 1.016 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.3968, allocations: 47.92 kB / 1.016 GB, free: 0.5664 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.3972, allocations: 228.4 kB / 1.016 GB, free: 340 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.3975, allocations: 87.53 kB / 1.016 GB, free: 252 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005531/0.403, allocations: 1.588 MB / 1.017 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.403, allocations: 4 kB / 1.017 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.403, allocations: 4 kB / 1.017 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.403, allocations: 3.984 kB / 1.017 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.4095, allocations: 2.302 MB / 1.02 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4096, allocations: 4 kB / 1.02 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.41, allocations: 83.83 kB / 1.02 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00564/0.4157, allocations: 1.397 MB / 1.021 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/0.4157, allocations: 19.94 kB / 1.021 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00824/0.424, allocations: 4.984 MB / 1.026 GB, free: 5.512 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.424, allocations: 4 kB / 1.026 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/0.4298, allocations: 1.954 MB / 1.028 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.4304, allocations: 135.4 kB / 1.028 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4305, allocations: 12 kB / 1.028 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.431, allocations: 27.92 kB / 1.028 GB, free: 3.324 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.4312, allocations: 56.34 kB / 1.028 GB, free: 3.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.4313, allocations: 20 kB / 1.028 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008434/0.4321, allocations: 443 kB / 1.029 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.4321, allocations: 0 / 1.029 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001106/0.4333, allocations: 311.6 kB / 1.029 GB, free: 2.516 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 (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.0004307/0.4337, allocations: 191.5 kB / 1.029 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.4376, allocations: 1.459 MB / 1.031 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4376, allocations: 4 kB / 1.031 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.4398, allocations: 0.9602 MB / 1.031 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.4418, allocations: 365.4 kB / 1.032 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.445, allocations: 1.588 MB / 1.033 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.4455, allocations: 380.8 kB / 1.034 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005445/0.446, allocations: 129.3 kB / 1.034 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.4463, allocations: 60.48 kB / 1.034 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/0.4463, allocations: 0 / 1.034 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of Templates: time 0.3487/0.795, allocations: 21.35 MB / 1.055 GB, free: 299.4 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.611563613987528]