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.001816/0.001816, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002049/0.002049, allocations: 220 kB / 23.04 MB, free: 5.078 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.867/2.867, allocations: 476.7 MB / 0.7715 GB, free: 4.328 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.002039/0.002039, allocations: 66.39 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3969, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2588/0.6557, allocations: 196.6 MB / 1.476 GB, free: 6.309 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007164/0.6629, allocations: 4.051 MB / 1.48 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.664, allocations: 27.81 kB / 1.48 GB, free: 2.219 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.6655, allocations: 492.9 kB / 1.481 GB, free: 1.734 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.6698, allocations: 1.61 MB / 1.482 GB, free: 120 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.6739, allocations: 1.416 MB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.677, allocations: 1.648 MB / 1.485 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.6783, allocations: 0.8383 MB / 1.486 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.6805, allocations: 0.9696 MB / 1.487 GB, free: 11.22 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.682, allocations: 0.9189 MB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.6822, allocations: 100 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.6853, allocations: 1.407 MB / 1.489 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.6857, allocations: 370.9 kB / 1.49 GB, free: 8.426 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006987/0.6864, allocations: 0.5172 MB / 1.49 GB, free: 7.906 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.6895, allocations: 1.675 MB / 1.492 GB, free: 6.227 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6895, allocations: 0 / 1.492 GB, free: 6.227 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6895, allocations: 0 / 1.492 GB, free: 6.227 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.6896, allocations: 0 / 1.492 GB, free: 6.227 MB / 1.186 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.003114/0.6927, allocations: 1.196 MB / 1.493 GB, free: 4.996 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.6927, allocations: 8.031 kB / 1.493 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.562e-05/0.6928, allocations: 13 kB / 1.493 GB, free: 4.977 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.6929, allocations: 94.52 kB / 1.493 GB, free: 4.875 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6947, allocations: 235.2 kB / 1.493 GB, free: 4.645 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.6959, allocations: 0.5538 MB / 1.494 GB, free: 4.062 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.6959, allocations: 41 kB / 1.494 GB, free: 4.02 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6961, allocations: 48 kB / 1.494 GB, free: 3.973 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6978, allocations: 1.004 MB / 1.495 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.6978, allocations: 7.938 kB / 1.495 GB, free: 2.895 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.6979, allocations: 24 kB / 1.495 GB, free: 2.871 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.698, allocations: 35.86 kB / 1.495 GB, free: 2.836 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.6997, allocations: 1.003 MB / 1.496 GB, free: 1.832 MB / 1.186 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.005959/0.7057, allocations: 4.098 MB / 1.5 GB, free: 13.56 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.7067, allocations: 0.561 MB / 1.5 GB, free: 13 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/0.7075, allocations: 482 kB / 1.501 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/0.7083, allocations: 136.3 kB / 1.501 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.7084, allocations: 43 kB / 1.501 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002497/0.7109, allocations: 0.6322 MB / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=50): time 3.697e-06/0.7109, allocations: 0 / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=50): time 0.01855/0.7294, allocations: 3.687 MB / 1.505 GB, free: 8 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.7295, allocations: 59.84 kB / 1.505 GB, free: 7.93 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.7306, allocations: 0.7116 MB / 1.506 GB, free: 7.207 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.7308, allocations: 37.64 kB / 1.506 GB, free: 7.164 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.7311, allocations: 320.9 kB / 1.506 GB, free: 6.848 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.7314, allocations: 186.4 kB / 1.507 GB, free: 6.664 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.7317, allocations: 150 kB / 1.507 GB, free: 6.512 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7319, allocations: 322 kB / 1.507 GB, free: 6.191 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.7326, allocations: 400.8 kB / 1.507 GB, free: 5.801 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.7334, allocations: 484.9 kB / 1.508 GB, free: 5.301 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.735, allocations: 0.9219 MB / 1.509 GB, free: 4.352 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.735, allocations: 4 kB / 1.509 GB, free: 4.348 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01207/0.7471, allocations: 2.545 MB / 1.511 GB, free: 1.789 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.7471, allocations: 8 kB / 1.511 GB, free: 1.781 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.7471, allocations: 3.938 kB / 1.511 GB, free: 1.777 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.7572, allocations: 1.734 MB / 1.513 GB, free: 36 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.7577, allocations: 91.86 kB / 1.513 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.7718, allocations: 6.936 MB / 1.52 GB, free: 8.766 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/0.7727, allocations: 24 kB / 1.52 GB, free: 8.742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.7729, allocations: 51.92 kB / 1.52 GB, free: 8.691 MB / 1.217 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.0004479/0.7733, allocations: 201.8 kB / 1.52 GB, free: 8.484 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.7736, allocations: 87.42 kB / 1.52 GB, free: 8.398 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/0.779, allocations: 1.728 MB / 1.522 GB, free: 6.645 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.779, allocations: 11.94 kB / 1.522 GB, free: 6.633 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.779, allocations: 4.234 kB / 1.522 GB, free: 6.629 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.779, allocations: 8 kB / 1.522 GB, free: 6.621 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/0.7854, allocations: 2.495 MB / 1.524 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7854, allocations: 192 / 1.524 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.7858, allocations: 91.89 kB / 1.524 GB, free: 3.961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/0.7893, allocations: 0.8018 MB / 1.525 GB, free: 3.152 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.7894, allocations: 15.98 kB / 1.525 GB, free: 3.137 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/0.7967, allocations: 4.654 MB / 1.53 GB, free: 14.26 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7967, allocations: 4 kB / 1.53 GB, free: 14.25 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/0.8025, allocations: 2.134 MB / 1.532 GB, free: 12.08 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.803, allocations: 163.3 kB / 1.532 GB, free: 11.92 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.8033, allocations: 12 kB / 1.532 GB, free: 11.91 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.8041, allocations: 23.97 kB / 1.532 GB, free: 11.88 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.8044, allocations: 64.28 kB / 1.532 GB, free: 11.82 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.8044, allocations: 20 kB / 1.532 GB, free: 11.8 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0008643/0.8053, allocations: 0.4912 MB / 1.533 GB, free: 11.32 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8053, allocations: 0 / 1.533 GB, free: 11.32 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001474/0.8068, allocations: 295.8 kB / 1.533 GB, free: 11.03 MB / 1.233 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.006157/0.8129, allocations: 2.792 MB / 1.536 GB, free: 8.18 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.003995/0.8169, allocations: 1.406 MB / 1.537 GB, free: 6.75 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.8169, allocations: 8.062 kB / 1.537 GB, free: 6.742 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.8189, allocations: 0.8555 MB / 1.538 GB, free: 5.863 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.8216, allocations: 460.6 kB / 1.538 GB, free: 5.414 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/0.8554, allocations: 10.44 MB / 1.548 GB, free: 10.79 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/0.8563, allocations: 0.9828 MB / 1.549 GB, free: 9.777 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008129/0.8571, allocations: 162.6 kB / 1.55 GB, free: 9.613 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.8577, allocations: 283.3 kB / 1.55 GB, free: 9.336 MB / 1.248 GB Notification: Performance of SimCode: time 8.41e-07/0.8577, allocations: 0 / 1.55 GB, free: 9.336 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09527/0.953, allocations: 30.5 MB / 1.58 GB, free: 11.26 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.85, allocations: 13.97 kB / 1.58 GB, free: 11.25 MB / 1.279 GB " [Timeout remaining time 284] (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.238910792046227]