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.0008137/0.0008137, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001234/0.001234, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.8431/0.8431, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.592/1.592, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.652e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5674/0.5674, allocations: 170.2 MB / 1.117 GB, free: 31.76 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.5716, allocations: 3.788 MB / 1.12 GB, free: 29.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.5719, allocations: 26.5 kB / 1.12 GB, free: 29.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.5728, allocations: 464.8 kB / 1.121 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.575, allocations: 1.611 MB / 1.122 GB, free: 28.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.5772, allocations: 1.447 MB / 1.124 GB, free: 27.33 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5784, allocations: 1.668 MB / 1.126 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007513/0.5791, allocations: 0.8398 MB / 1.126 GB, free: 26.16 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.5802, allocations: 1.209 MB / 1.128 GB, free: 25.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.581, allocations: 0.7967 MB / 1.128 GB, free: 25.42 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.5811, allocations: 103.6 kB / 1.128 GB, free: 25.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.5824, allocations: 1.122 MB / 1.129 GB, free: 25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.5827, allocations: 385.6 kB / 1.13 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.583, allocations: 404.5 kB / 1.13 GB, free: 24.64 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.5846, allocations: 1.759 MB / 1.132 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5846, allocations: 0.75 kB / 1.132 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5846, allocations: 0 / 1.132 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.5847, allocations: 0.8438 kB / 1.132 GB, free: 24.02 MB / 0.9948 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.001646/0.5863, allocations: 1.19 MB / 1.133 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5863, allocations: 9.875 kB / 1.133 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.5864, allocations: 92.5 kB / 1.133 GB, free: 23.16 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.5873, allocations: 241.3 kB / 1.133 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.5879, allocations: 0.5511 MB / 1.134 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.588, allocations: 33.78 kB / 1.134 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.588, allocations: 52.14 kB / 1.134 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.5891, allocations: 1.053 MB / 1.135 GB, free: 22.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5892, allocations: 5.75 kB / 1.135 GB, free: 22.15 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.506e-05/0.5892, allocations: 22.72 kB / 1.135 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.5893, allocations: 30.25 kB / 1.135 GB, free: 22.13 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5904, allocations: 0.9998 MB / 1.136 GB, free: 21.76 MB / 0.9948 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.002911/0.5933, allocations: 3.718 MB / 1.14 GB, free: 19.04 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.5939, allocations: 0.5614 MB / 1.14 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.5945, allocations: 485 kB / 1.141 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.5948, allocations: 135.5 kB / 1.141 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.5949, allocations: 39.73 kB / 1.141 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/0.5961, allocations: 0.6326 MB / 1.142 GB, free: 18.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.5961, allocations: 5.578 kB / 1.142 GB, free: 18.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=50): time 0.00931/0.6054, allocations: 3.68 MB / 1.145 GB, free: 17.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.6054, allocations: 56.28 kB / 1.145 GB, free: 17.48 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.606, allocations: 0.7105 MB / 1.146 GB, free: 17.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.6061, allocations: 36.77 kB / 1.146 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.6062, allocations: 321.6 kB / 1.146 GB, free: 16.88 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.6063, allocations: 181.2 kB / 1.146 GB, free: 16.74 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.6065, allocations: 149.6 kB / 1.147 GB, free: 16.69 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.6066, allocations: 331.9 kB / 1.147 GB, free: 16.37 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.607, allocations: 401.3 kB / 1.147 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.6075, allocations: 0.5246 MB / 1.148 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.6085, allocations: 0.9229 MB / 1.149 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6085, allocations: 0 / 1.149 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005737/0.6142, allocations: 2.553 MB / 1.151 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6142, allocations: 5.25 kB / 1.151 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6142, allocations: 6.062 kB / 1.151 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00454/0.6188, allocations: 1.722 MB / 1.153 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.619, allocations: 99.55 kB / 1.153 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/0.6259, allocations: 6.864 MB / 1.16 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.6262, allocations: 18.17 kB / 1.16 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.6263, allocations: 47.73 kB / 1.16 GB, free: 10.41 MB / 0.9948 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.0002101/0.6265, allocations: 211.7 kB / 1.16 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.6266, allocations: 82.55 kB / 1.16 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.6293, allocations: 1.731 MB / 1.162 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6293, allocations: 6.125 kB / 1.162 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6293, allocations: 7.844 kB / 1.162 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6293, allocations: 6.094 kB / 1.162 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.6326, allocations: 2.385 MB / 1.164 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6326, allocations: 1.188 kB / 1.164 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.6328, allocations: 96.02 kB / 1.164 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.6345, allocations: 0.7937 MB / 1.165 GB, free: 8.422 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.6345, allocations: 14.47 kB / 1.165 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/0.6381, allocations: 4.606 MB / 1.169 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6381, allocations: 1.312 kB / 1.169 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.6409, allocations: 2.146 MB / 1.172 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.6411, allocations: 162.1 kB / 1.172 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.6412, allocations: 12.28 kB / 1.172 GB, free: 4.062 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.6415, allocations: 22.5 kB / 1.172 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.6416, allocations: 60.31 kB / 1.172 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.6416, allocations: 20.16 kB / 1.172 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003672/0.642, allocations: 0.5029 MB / 1.172 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.642, allocations: 0 / 1.172 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006229/0.6426, allocations: 285.7 kB / 1.173 GB, free: 3.781 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.003102/0.6457, allocations: 2.781 MB / 1.175 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.6474, allocations: 1.409 MB / 1.177 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6474, allocations: 0 / 1.177 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.6483, allocations: 0.8556 MB / 1.177 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.6494, allocations: 464.1 kB / 1.178 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.6649, allocations: 10.37 MB / 1.188 GB, free: 10.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6651, allocations: 391.8 kB / 1.188 GB, free: 10.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003314/0.6655, allocations: 161.4 kB / 1.189 GB, free: 10.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.6657, allocations: 283.1 kB / 1.189 GB, free: 10.25 MB / 1.01 GB Notification: Performance of SimCode: time 7.32e-07/0.6657, allocations: 0 / 1.189 GB, free: 10.25 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/0.707, allocations: 32.93 MB / 1.221 GB, free: 4.242 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/8.258, allocations: 10.12 kB / 1.221 GB, free: 4.234 MB / 1.026 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] 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: 12.106191375292838]