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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00179/0.00179, allocations: 67.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7498, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2038/0.9536, allocations: 193.7 MB / 1.461 GB, free: 3 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005883/0.9595, allocations: 4.033 MB / 1.464 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.9599, allocations: 23.88 kB / 1.464 GB, free: 14.94 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.9611, allocations: 496.9 kB / 1.465 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.9645, allocations: 1.583 MB / 1.466 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.9677, allocations: 1.386 MB / 1.468 GB, free: 11.48 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.9698, allocations: 1.635 MB / 1.469 GB, free: 9.832 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.9708, allocations: 0.8416 MB / 1.47 GB, free: 8.977 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.9721, allocations: 0.9463 MB / 1.471 GB, free: 8.027 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.9733, allocations: 0.9306 MB / 1.472 GB, free: 7.094 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.9735, allocations: 100 kB / 1.472 GB, free: 6.996 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.9758, allocations: 1.383 MB / 1.474 GB, free: 5.609 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.9762, allocations: 370.8 kB / 1.474 GB, free: 5.246 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.9767, allocations: 0.5211 MB / 1.474 GB, free: 4.723 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.9788, allocations: 1.666 MB / 1.476 GB, free: 3.051 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.9788, allocations: 0 / 1.476 GB, free: 3.051 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9788, allocations: 0 / 1.476 GB, free: 3.051 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.9788, allocations: 4 kB / 1.476 GB, free: 3.047 MB / 1.154 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.002481/0.9813, allocations: 1.264 MB / 1.477 GB, free: 1.73 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.9813, allocations: 12.02 kB / 1.477 GB, free: 1.719 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.9814, allocations: 86.52 kB / 1.477 GB, free: 1.625 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.9829, allocations: 251.2 kB / 1.478 GB, free: 1.379 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.9837, allocations: 0.6194 MB / 1.478 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.9838, allocations: 37 kB / 1.478 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9839, allocations: 55.89 kB / 1.478 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.9854, allocations: 1.004 MB / 1.479 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.9854, allocations: 3.938 kB / 1.479 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.9855, allocations: 24 kB / 1.479 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.9855, allocations: 31.92 kB / 1.479 GB, free: 15.49 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.9871, allocations: 1.003 MB / 1.48 GB, free: 14.49 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.00478/0.9919, allocations: 4.138 MB / 1.484 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.9928, allocations: 0.5665 MB / 1.485 GB, free: 9.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.9936, allocations: 489.9 kB / 1.485 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.9946, allocations: 0.8822 MB / 1.486 GB, free: 8.059 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.9946, allocations: 35 kB / 1.486 GB, free: 8.012 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002233/0.9968, allocations: 0.6283 MB / 1.487 GB, free: 7.383 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 2.354e-06/0.9968, allocations: 4 kB / 1.487 GB, free: 7.379 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01716/1.014, allocations: 3.834 MB / 1.491 GB, free: 3.492 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.014, allocations: 55.84 kB / 1.491 GB, free: 3.426 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/1.015, allocations: 0.7116 MB / 1.491 GB, free: 2.703 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/1.015, allocations: 33.7 kB / 1.491 GB, free: 2.664 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/1.015, allocations: 324.9 kB / 1.492 GB, free: 2.344 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.015, allocations: 182.4 kB / 1.492 GB, free: 2.164 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/1.016, allocations: 154.1 kB / 1.492 GB, free: 2.008 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.016, allocations: 330 kB / 1.492 GB, free: 1.68 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/1.016, allocations: 392.9 kB / 1.493 GB, free: 1.293 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/1.017, allocations: 489.5 kB / 1.493 GB, free: 0.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/1.019, allocations: 0.9219 MB / 1.494 GB, free: 15.84 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.019, allocations: 0 / 1.494 GB, free: 15.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01109/1.03, allocations: 2.553 MB / 1.497 GB, free: 13.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.03, allocations: 8 kB / 1.497 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.03, allocations: 0 / 1.497 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009393/1.039, allocations: 1.741 MB / 1.498 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.04, allocations: 91.88 kB / 1.498 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.052, allocations: 7.148 MB / 1.505 GB, free: 3.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/1.053, allocations: 20.05 kB / 1.505 GB, free: 3.961 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/1.053, allocations: 55.8 kB / 1.505 GB, free: 3.906 MB / 1.186 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.0003921/1.053, allocations: 203.1 kB / 1.506 GB, free: 3.699 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.053, allocations: 87.44 kB / 1.506 GB, free: 3.613 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/1.058, allocations: 1.718 MB / 1.507 GB, free: 1.875 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.058, allocations: 19.94 kB / 1.507 GB, free: 1.855 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.058, allocations: 4 kB / 1.507 GB, free: 1.852 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.058, allocations: 3.984 kB / 1.507 GB, free: 1.848 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/1.064, allocations: 2.532 MB / 1.51 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.064, allocations: 0 / 1.51 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/1.065, allocations: 87.89 kB / 1.51 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/1.068, allocations: 0.7941 MB / 1.511 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/1.068, allocations: 19.98 kB / 1.511 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006694/1.075, allocations: 4.856 MB / 1.516 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.075, allocations: 0 / 1.516 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005085/1.08, allocations: 2.136 MB / 1.518 GB, free: 7.012 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/1.08, allocations: 236.6 kB / 1.518 GB, free: 6.762 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.08, allocations: 12 kB / 1.518 GB, free: 6.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/1.081, allocations: 27.97 kB / 1.518 GB, free: 6.723 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.081, allocations: 56.38 kB / 1.518 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/1.081, allocations: 28.11 kB / 1.518 GB, free: 6.641 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000591/1.082, allocations: 0.499 MB / 1.518 GB, free: 6.148 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/1.082, allocations: 0 / 1.518 GB, free: 6.148 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000872/1.083, allocations: 283.8 kB / 1.519 GB, free: 5.871 MB / 1.201 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.005764/1.088, allocations: 2.81 MB / 1.521 GB, free: 3.012 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003537/1.092, allocations: 1.414 MB / 1.523 GB, free: 1.574 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.092, allocations: 0 / 1.523 GB, free: 1.574 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.094, allocations: 0.8639 MB / 1.524 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.096, allocations: 459 kB / 1.524 GB, free: 236 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/1.125, allocations: 10.45 MB / 1.534 GB, free: 5.613 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/1.126, allocations: 0.975 MB / 1.535 GB, free: 4.613 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005822/1.127, allocations: 162.6 kB / 1.535 GB, free: 4.449 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.127, allocations: 283.3 kB / 1.536 GB, free: 4.172 MB / 1.217 GB Notification: Performance of SimCode: time 9.32e-07/1.127, allocations: 0 / 1.536 GB, free: 4.172 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06756/1.195, allocations: 30.11 MB / 1.565 GB, free: 6.426 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.49, allocations: 2.188 kB / 1.565 GB, free: 6.426 MB / 1.248 GB " [Timeout remaining time 288] (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 --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: 16.7583374120004]