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.001603/0.001603, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001993/0.001993, allocations: 222.4 kB / 22.25 MB, free: 5.211 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.004 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.74/2.74, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.002055/0.002055, allocations: 67.45 kB / 1.117 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3066, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2302/0.5368, allocations: 196.6 MB / 1.475 GB, free: 6.25 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.5438, allocations: 4.049 MB / 1.479 GB, free: 2.191 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5449, allocations: 27.81 kB / 1.479 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.5465, allocations: 497 kB / 1.48 GB, free: 1.676 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.551, allocations: 1.606 MB / 1.481 GB, free: 64 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/0.5555, allocations: 1.414 MB / 1.483 GB, free: 14.65 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.5586, allocations: 1.648 MB / 1.484 GB, free: 12.99 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.5601, allocations: 0.8422 MB / 1.485 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.5621, allocations: 0.9696 MB / 1.486 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.564, allocations: 0.9228 MB / 1.487 GB, free: 10.24 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004092/0.5644, allocations: 100 kB / 1.487 GB, free: 10.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.5677, allocations: 1.403 MB / 1.489 GB, free: 8.734 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006626/0.5684, allocations: 370.9 kB / 1.489 GB, free: 8.371 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.5695, allocations: 0.5172 MB / 1.489 GB, free: 7.852 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.5731, allocations: 1.671 MB / 1.491 GB, free: 6.176 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5731, allocations: 0 / 1.491 GB, free: 6.176 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5731, allocations: 4 kB / 1.491 GB, free: 6.172 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.151e-05/0.5731, allocations: 0 / 1.491 GB, free: 6.172 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.003452/0.5766, allocations: 1.192 MB / 1.492 GB, free: 4.945 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5766, allocations: 8.031 kB / 1.492 GB, free: 4.938 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.5768, allocations: 98.5 kB / 1.492 GB, free: 4.832 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.5785, allocations: 235.2 kB / 1.493 GB, free: 4.602 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5796, allocations: 0.5577 MB / 1.493 GB, free: 4.016 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.5797, allocations: 37 kB / 1.493 GB, free: 3.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.5798, allocations: 48 kB / 1.493 GB, free: 3.934 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.5815, allocations: 1.004 MB / 1.494 GB, free: 2.859 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.5816, allocations: 7.938 kB / 1.494 GB, free: 2.852 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.5816, allocations: 20 kB / 1.494 GB, free: 2.832 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.5817, allocations: 35.92 kB / 1.494 GB, free: 2.797 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.5834, allocations: 1.003 MB / 1.495 GB, free: 1.793 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.005763/0.5892, allocations: 4.102 MB / 1.499 GB, free: 13.52 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5902, allocations: 0.5562 MB / 1.5 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008115/0.591, allocations: 489.9 kB / 1.5 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/0.5918, allocations: 136.3 kB / 1.5 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5918, allocations: 39 kB / 1.5 GB, free: 12.29 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002352/0.5941, allocations: 0.6399 MB / 1.501 GB, free: 11.65 MB / 1.201 GB Notification: Performance of pre-optimization done (n=50): time 4.268e-06/0.5941, allocations: 0 / 1.501 GB, free: 11.65 MB / 1.201 GB Notification: Performance of matching and sorting (n=50): time 0.01779/0.6119, allocations: 3.679 MB / 1.505 GB, free: 7.957 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.612, allocations: 59.84 kB / 1.505 GB, free: 7.887 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.6132, allocations: 0.7116 MB / 1.505 GB, free: 7.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.6134, allocations: 33.7 kB / 1.505 GB, free: 7.129 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.6137, allocations: 324.9 kB / 1.506 GB, free: 6.809 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.614, allocations: 186.4 kB / 1.506 GB, free: 6.625 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.6144, allocations: 154 kB / 1.506 GB, free: 6.469 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6145, allocations: 326 kB / 1.506 GB, free: 6.145 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.6153, allocations: 392.8 kB / 1.507 GB, free: 5.762 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.6161, allocations: 488.9 kB / 1.507 GB, free: 5.262 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.6177, allocations: 0.918 MB / 1.508 GB, free: 4.316 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.6177, allocations: 4 kB / 1.508 GB, free: 4.312 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01146/0.6291, allocations: 2.537 MB / 1.511 GB, free: 1.762 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6292, allocations: 11.98 kB / 1.511 GB, free: 1.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6292, allocations: 128 / 1.511 GB, free: 1.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009644/0.6388, allocations: 1.741 MB / 1.512 GB, free: 0 / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.6394, allocations: 91.86 kB / 1.512 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.653, allocations: 6.944 MB / 1.519 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.654, allocations: 20.05 kB / 1.519 GB, free: 8.707 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.6543, allocations: 47.92 kB / 1.519 GB, free: 8.66 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.0005764/0.6548, allocations: 205.7 kB / 1.519 GB, free: 8.449 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.6552, allocations: 83.48 kB / 1.519 GB, free: 8.367 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/0.6607, allocations: 1.732 MB / 1.521 GB, free: 6.613 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6607, allocations: 8 kB / 1.521 GB, free: 6.605 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.6608, allocations: 4 kB / 1.521 GB, free: 6.602 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6608, allocations: 7.922 kB / 1.521 GB, free: 6.594 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/0.6674, allocations: 2.499 MB / 1.524 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.6674, allocations: 4 kB / 1.524 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.6678, allocations: 91.88 kB / 1.524 GB, free: 3.922 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003491/0.6713, allocations: 0.8018 MB / 1.524 GB, free: 3.113 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.6714, allocations: 12 kB / 1.524 GB, free: 3.102 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007211/0.6786, allocations: 4.646 MB / 1.529 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6786, allocations: 4 kB / 1.529 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/0.6842, allocations: 2.142 MB / 1.531 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.6848, allocations: 163.5 kB / 1.531 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.685, allocations: 12 kB / 1.531 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.6856, allocations: 23.98 kB / 1.531 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.6858, allocations: 64.27 kB / 1.531 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.6859, allocations: 23.98 kB / 1.531 GB, free: 11.76 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007016/0.6866, allocations: 0.4951 MB / 1.532 GB, free: 11.27 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6866, allocations: 0 / 1.532 GB, free: 11.27 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001042/0.6876, allocations: 295.8 kB / 1.532 GB, free: 10.98 MB / 1.232 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.006202/0.6938, allocations: 2.781 MB / 1.535 GB, free: 8.148 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003736/0.6975, allocations: 1.414 MB / 1.536 GB, free: 6.711 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6975, allocations: 0 / 1.536 GB, free: 6.711 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.6994, allocations: 0.8557 MB / 1.537 GB, free: 5.828 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.7017, allocations: 462.8 kB / 1.538 GB, free: 5.379 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/0.7329, allocations: 10.45 MB / 1.548 GB, free: 10.74 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.7336, allocations: 0.9789 MB / 1.549 GB, free: 9.738 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006611/0.7343, allocations: 154.6 kB / 1.549 GB, free: 9.582 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.7348, allocations: 283.3 kB / 1.549 GB, free: 9.305 MB / 1.248 GB Notification: Performance of SimCode: time 9.72e-07/0.7348, allocations: 4 kB / 1.549 GB, free: 9.301 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/0.817, allocations: 30.46 MB / 1.579 GB, free: 11.25 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.98, allocations: 14.23 kB / 1.579 GB, free: 11.23 MB / 1.279 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: 20.689559022895992]