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.001943/0.001943, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002481/0.002481, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.473/1.473, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.869/2.869, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.713e-06/1.713e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.86e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2318/0.2319, allocations: 170.3 MB / 0.9771 GB, free: 7.262 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007419/0.2393, allocations: 3.793 MB / 0.9808 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.2402, allocations: 23.81 kB / 0.9808 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.242, allocations: 460.9 kB / 0.9813 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.2476, allocations: 1.605 MB / 0.9828 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.2517, allocations: 1.444 MB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.2545, allocations: 1.653 MB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.2561, allocations: 0.9158 MB / 0.9867 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.2596, allocations: 1.364 MB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.2613, allocations: 0.7753 MB / 0.9888 GB, free: 11.19 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.2617, allocations: 100 kB / 0.9889 GB, free: 11.09 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.2644, allocations: 1.11 MB / 0.99 GB, free: 9.977 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.265, allocations: 382.8 kB / 0.9904 GB, free: 9.602 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009039/0.2659, allocations: 403 kB / 0.9908 GB, free: 9.207 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.2694, allocations: 1.764 MB / 0.9925 GB, free: 7.438 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2694, allocations: 4 kB / 0.9925 GB, free: 7.434 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2694, allocations: 0 / 0.9925 GB, free: 7.434 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.231e-05/0.2695, allocations: 4 kB / 0.9925 GB, free: 7.43 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.003362/0.2728, allocations: 1.177 MB / 0.9936 GB, free: 6.219 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2729, allocations: 8.031 kB / 0.9936 GB, free: 6.211 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.2748, allocations: 326.8 kB / 0.994 GB, free: 5.891 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.276, allocations: 0.5656 MB / 0.9945 GB, free: 5.301 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.2761, allocations: 40.98 kB / 0.9945 GB, free: 5.262 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.2762, allocations: 51.95 kB / 0.9946 GB, free: 5.211 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.2782, allocations: 1.06 MB / 0.9956 GB, free: 4.066 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.2783, allocations: 3.938 kB / 0.9956 GB, free: 4.062 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.2784, allocations: 20 kB / 0.9957 GB, free: 4.043 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.2784, allocations: 31.92 kB / 0.9957 GB, free: 4.012 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.2804, allocations: 1.007 MB / 0.9967 GB, free: 3.004 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.006084/0.2865, allocations: 3.611 MB / 1 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.2876, allocations: 0.5573 MB / 1.001 GB, free: 14.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009141/0.2885, allocations: 482.1 kB / 1.001 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007828/0.2893, allocations: 144.3 kB / 1.001 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.2894, allocations: 39.06 kB / 1.001 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002617/0.292, allocations: 0.6166 MB / 1.002 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=50): time 5.55e-06/0.292, allocations: 0 / 1.002 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=50): time 0.01999/0.312, allocations: 3.689 MB / 1.006 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.3121, allocations: 55.91 kB / 1.006 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.313, allocations: 0.5549 MB / 1.006 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.3131, allocations: 33.7 kB / 1.006 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.3135, allocations: 333.1 kB / 1.007 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3137, allocations: 194.3 kB / 1.007 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.314, allocations: 146 kB / 1.007 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.3143, allocations: 382.7 kB / 1.007 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/0.3151, allocations: 392.8 kB / 1.008 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009406/0.316, allocations: 0.5315 MB / 1.008 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.3178, allocations: 0.9231 MB / 1.009 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3178, allocations: 4 kB / 1.009 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01269/0.3305, allocations: 2.55 MB / 1.011 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3306, allocations: 4 kB / 1.012 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3306, allocations: 8.125 kB / 1.012 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/0.3447, allocations: 2.526 MB / 1.014 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.3452, allocations: 99.8 kB / 1.014 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.3604, allocations: 6.832 MB / 1.021 GB, free: 9.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.3613, allocations: 16.06 kB / 1.021 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.3615, allocations: 48 kB / 1.021 GB, free: 9.777 MB / 0.9792 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.0005759/0.3621, allocations: 213.7 kB / 1.021 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.3625, allocations: 79.58 kB / 1.021 GB, free: 9.48 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/0.3685, allocations: 1.723 MB / 1.023 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3685, allocations: 8 kB / 1.023 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3685, allocations: 4 kB / 1.023 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.3685, allocations: 7.984 kB / 1.023 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00695/0.3755, allocations: 2.324 MB / 1.025 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.3755, allocations: 4 kB / 1.025 GB, free: 5.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.376, allocations: 91.88 kB / 1.025 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005598/0.3816, allocations: 1.376 MB / 1.026 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.3817, allocations: 19.94 kB / 1.027 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008293/0.39, allocations: 4.577 MB / 1.031 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.39, allocations: 0 / 1.031 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/0.3962, allocations: 2.146 MB / 1.033 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.3968, allocations: 147.5 kB / 1.033 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.397, allocations: 15.98 kB / 1.033 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.3976, allocations: 23.92 kB / 1.033 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3979, allocations: 56.41 kB / 1.033 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.3979, allocations: 20 kB / 1.033 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006704/0.3986, allocations: 403 kB / 1.034 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.3986, allocations: 0 / 1.034 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001138/0.3997, allocations: 303.6 kB / 1.034 GB, free: 11.94 MB / 0.9948 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.0004507/0.4002, allocations: 211 kB / 1.034 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003959/0.4041, allocations: 1.409 MB / 1.036 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4041, allocations: 0 / 1.036 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.4062, allocations: 0.8632 MB / 1.036 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.4081, allocations: 352.6 kB / 1.037 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.4112, allocations: 1.613 MB / 1.038 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.4118, allocations: 392.7 kB / 1.039 GB, free: 6.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005428/0.4123, allocations: 149.2 kB / 1.039 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.4125, allocations: 64.48 kB / 1.039 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/0.4125, allocations: 0 / 1.039 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of Templates: time 0.3649/0.7774, allocations: 21.12 MB / 1.06 GB, free: 274.5 MB / 0.9948 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.157234465004876]