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.001282/0.001282, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001453/0.001453, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.938/2.938, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 68.12 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.213, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2758/1.489, allocations: 196.2 MB / 1.471 GB, free: 7.562 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007701/1.496, allocations: 4.045 MB / 1.475 GB, free: 3.512 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/1.498, allocations: 27.81 kB / 1.475 GB, free: 3.484 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/1.499, allocations: 493 kB / 1.475 GB, free: 3 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/1.505, allocations: 1.598 MB / 1.477 GB, free: 1.395 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004453/1.509, allocations: 1.363 MB / 1.478 GB, free: 32 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003203/1.512, allocations: 1.639 MB / 1.48 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/1.514, allocations: 0.8573 MB / 1.48 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/1.516, allocations: 0.9658 MB / 1.481 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/1.518, allocations: 0.9267 MB / 1.482 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/1.518, allocations: 100 kB / 1.482 GB, free: 11.52 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/1.521, allocations: 1.387 MB / 1.484 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/1.521, allocations: 366.9 kB / 1.484 GB, free: 9.77 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000722/1.522, allocations: 0.5211 MB / 1.485 GB, free: 9.246 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/1.525, allocations: 1.663 MB / 1.486 GB, free: 7.578 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.525, allocations: 8 kB / 1.486 GB, free: 7.57 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.465e-06/1.525, allocations: 0 / 1.486 GB, free: 7.57 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.68e-05/1.525, allocations: 0 / 1.486 GB, free: 7.57 MB / 1.17 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.003181/1.528, allocations: 1.272 MB / 1.487 GB, free: 6.246 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.528, allocations: 8.031 kB / 1.487 GB, free: 6.238 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.267e-05/1.528, allocations: 17 kB / 1.487 GB, free: 6.219 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/1.528, allocations: 90.5 kB / 1.487 GB, free: 6.121 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.53, allocations: 239.2 kB / 1.488 GB, free: 5.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/1.531, allocations: 0.6233 MB / 1.488 GB, free: 5.223 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/1.531, allocations: 37 kB / 1.488 GB, free: 5.188 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.531, allocations: 51.98 kB / 1.488 GB, free: 5.137 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.533, allocations: 1.004 MB / 1.489 GB, free: 4.062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.533, allocations: 3.938 kB / 1.489 GB, free: 4.059 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.533, allocations: 24 kB / 1.489 GB, free: 4.035 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/1.533, allocations: 35.92 kB / 1.489 GB, free: 4 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.535, allocations: 0.9993 MB / 1.49 GB, free: 3 MB / 1.17 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.00599/1.541, allocations: 4.141 MB / 1.494 GB, free: 14.69 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/1.542, allocations: 0.5603 MB / 1.495 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008476/1.543, allocations: 493.9 kB / 1.495 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.544, allocations: 0.8822 MB / 1.496 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.544, allocations: 35 kB / 1.496 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002641/1.547, allocations: 0.6361 MB / 1.497 GB, free: 11.89 MB / 1.186 GB Notification: Performance of pre-optimization done (n=50): time 6.943e-06/1.547, allocations: 3.984 kB / 1.497 GB, free: 11.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=50): time 0.0193/1.566, allocations: 3.822 MB / 1.501 GB, free: 8.008 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.566, allocations: 63.78 kB / 1.501 GB, free: 7.934 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.568, allocations: 0.7116 MB / 1.501 GB, free: 7.211 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.568, allocations: 37.69 kB / 1.502 GB, free: 7.168 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/1.568, allocations: 321 kB / 1.502 GB, free: 6.852 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.568, allocations: 190.3 kB / 1.502 GB, free: 6.664 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/1.569, allocations: 150.1 kB / 1.502 GB, free: 6.512 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.569, allocations: 329.9 kB / 1.502 GB, free: 6.184 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/1.57, allocations: 392.9 kB / 1.503 GB, free: 5.801 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/1.57, allocations: 489.5 kB / 1.503 GB, free: 5.293 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.572, allocations: 0.918 MB / 1.504 GB, free: 4.348 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.572, allocations: 0 / 1.504 GB, free: 4.348 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0123/1.584, allocations: 2.557 MB / 1.507 GB, free: 1.777 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.584, allocations: 8 kB / 1.507 GB, free: 1.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/1.584, allocations: 11.92 kB / 1.507 GB, free: 1.758 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/1.595, allocations: 1.73 MB / 1.508 GB, free: 20 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/1.595, allocations: 95.86 kB / 1.509 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.61, allocations: 7.128 MB / 1.515 GB, free: 8.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/1.611, allocations: 20.05 kB / 1.515 GB, free: 8.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.611, allocations: 47.92 kB / 1.516 GB, free: 8.434 MB / 1.201 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.000456/1.611, allocations: 209.7 kB / 1.516 GB, free: 8.219 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/1.611, allocations: 87.42 kB / 1.516 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005498/1.617, allocations: 1.726 MB / 1.518 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.617, allocations: 8 kB / 1.518 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.617, allocations: 4 kB / 1.518 GB, free: 6.379 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.617, allocations: 3.984 kB / 1.518 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/1.624, allocations: 2.524 MB / 1.52 GB, free: 3.766 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/1.624, allocations: 4 kB / 1.52 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/1.624, allocations: 91.83 kB / 1.52 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003657/1.628, allocations: 0.8018 MB / 1.521 GB, free: 2.863 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/1.628, allocations: 15.98 kB / 1.521 GB, free: 2.848 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008154/1.636, allocations: 4.853 MB / 1.526 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.636, allocations: 3.938 kB / 1.526 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006163/1.642, allocations: 2.151 MB / 1.528 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/1.643, allocations: 232.5 kB / 1.528 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.643, allocations: 15.94 kB / 1.528 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/1.644, allocations: 23.98 kB / 1.528 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/1.644, allocations: 52.38 kB / 1.528 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/1.644, allocations: 23.98 kB / 1.528 GB, free: 11.16 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007869/1.645, allocations: 0.4951 MB / 1.529 GB, free: 10.67 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.645, allocations: 4 kB / 1.529 GB, free: 10.67 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00118/1.646, allocations: 295.7 kB / 1.529 GB, free: 10.38 MB / 1.217 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.006743/1.653, allocations: 2.782 MB / 1.532 GB, free: 7.539 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004132/1.657, allocations: 1.414 MB / 1.533 GB, free: 6.102 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.657, allocations: 0 / 1.533 GB, free: 6.102 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.659, allocations: 0.8599 MB / 1.534 GB, free: 5.215 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.661, allocations: 469.2 kB / 1.534 GB, free: 4.758 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03322/1.694, allocations: 10.44 MB / 1.544 GB, free: 10.14 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/1.695, allocations: 0.9789 MB / 1.545 GB, free: 9.141 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007768/1.696, allocations: 158.6 kB / 1.546 GB, free: 8.98 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/1.696, allocations: 287.3 kB / 1.546 GB, free: 8.699 MB / 1.232 GB Notification: Performance of SimCode: time 1.042e-06/1.696, allocations: 0 / 1.546 GB, free: 8.699 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07556/1.772, allocations: 29.84 MB / 1.575 GB, free: 11.24 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/14.02, allocations: 13.86 kB / 1.575 GB, free: 11.23 MB / 1.264 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.7963630160084]