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.001328/0.001328, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00165/0.00165, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.015/3.015, allocations: 476.8 MB / 0.7715 GB, free: 3.852 MB / 0.6231 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.001933/0.001933, allocations: 63.12 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4271, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2319/0.659, allocations: 170.3 MB / 1.45 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00737/0.6664, allocations: 3.777 MB / 1.454 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.6675, allocations: 27.81 kB / 1.454 GB, free: 11.92 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.6691, allocations: 453.1 kB / 1.455 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.6735, allocations: 1.585 MB / 1.456 GB, free: 9.883 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.6776, allocations: 1.394 MB / 1.457 GB, free: 8.488 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.6804, allocations: 1.656 MB / 1.459 GB, free: 6.824 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.682, allocations: 0.8344 MB / 1.46 GB, free: 5.977 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.6841, allocations: 0.9736 MB / 1.461 GB, free: 5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.6858, allocations: 0.9189 MB / 1.462 GB, free: 4.078 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.6863, allocations: 104 kB / 1.462 GB, free: 3.977 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.6891, allocations: 1.11 MB / 1.463 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006564/0.6897, allocations: 374.8 kB / 1.463 GB, free: 2.496 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.6907, allocations: 462.2 kB / 1.464 GB, free: 2.043 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.6944, allocations: 1.645 MB / 1.465 GB, free: 404 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6945, allocations: 0 / 1.465 GB, free: 404 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6945, allocations: 0 / 1.465 GB, free: 404 kB / 1.154 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.6945, allocations: 0 / 1.465 GB, free: 404 kB / 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.003843/0.6983, allocations: 1.196 MB / 1.466 GB, free: 15.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6984, allocations: 8.031 kB / 1.466 GB, free: 15.15 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.543e-05/0.6984, allocations: 13 kB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.6986, allocations: 90.52 kB / 1.467 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.7005, allocations: 239.2 kB / 1.467 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.7017, allocations: 0.5499 MB / 1.467 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.7017, allocations: 45 kB / 1.467 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.7018, allocations: 52 kB / 1.467 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.7037, allocations: 1.054 MB / 1.468 GB, free: 13 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.7037, allocations: 7.938 kB / 1.468 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.7039, allocations: 20 kB / 1.469 GB, free: 12.97 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.7039, allocations: 35.92 kB / 1.469 GB, free: 12.94 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.7057, allocations: 1.003 MB / 1.47 GB, free: 11.93 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.005909/0.7116, allocations: 3.72 MB / 1.473 GB, free: 8.09 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.7127, allocations: 0.5578 MB / 1.474 GB, free: 7.527 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.7136, allocations: 482 kB / 1.474 GB, free: 7.055 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/0.7143, allocations: 140.2 kB / 1.474 GB, free: 6.918 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.7144, allocations: 35 kB / 1.474 GB, free: 6.871 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002552/0.7169, allocations: 0.6361 MB / 1.475 GB, free: 6.234 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 5.811e-06/0.7169, allocations: 0 / 1.475 GB, free: 6.234 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01843/0.7354, allocations: 3.687 MB / 1.479 GB, free: 2.531 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.7354, allocations: 55.84 kB / 1.479 GB, free: 2.465 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.7367, allocations: 0.7078 MB / 1.479 GB, free: 1.746 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.7368, allocations: 37.7 kB / 1.479 GB, free: 1.703 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.7371, allocations: 328.8 kB / 1.48 GB, free: 1.379 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.7374, allocations: 182.4 kB / 1.48 GB, free: 1.199 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.7377, allocations: 150 kB / 1.48 GB, free: 1.047 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.7379, allocations: 330 kB / 1.48 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/0.7387, allocations: 396.7 kB / 1.481 GB, free: 340 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.7396, allocations: 0.5237 MB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.7412, allocations: 0.918 MB / 1.482 GB, free: 14.82 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7412, allocations: 0 / 1.482 GB, free: 14.82 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01201/0.7532, allocations: 2.549 MB / 1.485 GB, free: 12.26 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.7533, allocations: 8 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7533, allocations: 3.938 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009977/0.7633, allocations: 1.741 MB / 1.486 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.7638, allocations: 87.81 kB / 1.486 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.7778, allocations: 6.878 MB / 1.493 GB, free: 3.293 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000879/0.7787, allocations: 20.05 kB / 1.493 GB, free: 3.273 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.7788, allocations: 47.88 kB / 1.493 GB, free: 3.227 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.0005016/0.7793, allocations: 213.7 kB / 1.493 GB, free: 3.008 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.7797, allocations: 87.42 kB / 1.493 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005451/0.7851, allocations: 1.725 MB / 1.495 GB, free: 1.172 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.7851, allocations: 11.94 kB / 1.495 GB, free: 1.16 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.7851, allocations: 0 / 1.495 GB, free: 1.16 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.7852, allocations: 7.984 kB / 1.495 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/0.7916, allocations: 2.374 MB / 1.497 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7916, allocations: 8.188 kB / 1.497 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.7921, allocations: 87.89 kB / 1.498 GB, free: 14.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/0.7957, allocations: 0.7899 MB / 1.498 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/0.7958, allocations: 12 kB / 1.498 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007487/0.8033, allocations: 4.614 MB / 1.503 GB, free: 8.961 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8033, allocations: 8 kB / 1.503 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.8092, allocations: 2.134 MB / 1.505 GB, free: 6.777 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.8098, allocations: 163.3 kB / 1.505 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.81, allocations: 12 kB / 1.505 GB, free: 6.605 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.8107, allocations: 19.98 kB / 1.505 GB, free: 6.586 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.811, allocations: 60.28 kB / 1.505 GB, free: 6.527 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.8111, allocations: 23.98 kB / 1.505 GB, free: 6.504 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008721/0.8119, allocations: 0.4951 MB / 1.506 GB, free: 6.016 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8119, allocations: 0 / 1.506 GB, free: 6.016 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001252/0.8132, allocations: 299.7 kB / 1.506 GB, free: 5.723 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.006376/0.8196, allocations: 2.785 MB / 1.509 GB, free: 2.883 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003964/0.8235, allocations: 1.398 MB / 1.51 GB, free: 1.461 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.8235, allocations: 0 / 1.51 GB, free: 1.461 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.8255, allocations: 0.8675 MB / 1.511 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.8279, allocations: 458.1 kB / 1.511 GB, free: 124 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/0.8612, allocations: 10.45 MB / 1.522 GB, free: 5.492 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.8618, allocations: 385.3 kB / 1.522 GB, free: 5.09 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.8627, allocations: 162.6 kB / 1.522 GB, free: 4.926 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.8633, allocations: 283.3 kB / 1.522 GB, free: 4.648 MB / 1.217 GB Notification: Performance of SimCode: time 2.615e-06/0.8633, allocations: 0 / 1.522 GB, free: 4.648 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07984/0.9431, allocations: 32.55 MB / 1.554 GB, free: 4.754 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.29, allocations: 5.016 kB / 1.554 GB, free: 4.754 MB / 1.248 GB " [Timeout remaining time 285] (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: 22.790780233917758]