Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4782, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1852/0.6634, allocations: 192.6 MB / 1.138 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005046/0.6685, allocations: 4.035 MB / 1.142 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/0.6692, allocations: 23.88 kB / 1.142 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6702, allocations: 473 kB / 1.142 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.673, allocations: 1.524 MB / 1.144 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.6756, allocations: 1.356 MB / 1.145 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.6773, allocations: 1.631 MB / 1.147 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.6784, allocations: 0.9509 MB / 1.148 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.6796, allocations: 0.9228 MB / 1.148 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000979/0.6806, allocations: 0.8488 MB / 1.149 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.6808, allocations: 100 kB / 1.149 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.6828, allocations: 1.298 MB / 1.151 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.6831, allocations: 366.9 kB / 1.151 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.6836, allocations: 0.5055 MB / 1.151 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.6854, allocations: 1.62 MB / 1.153 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6854, allocations: 0 / 1.153 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6854, allocations: 0 / 1.153 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.6854, allocations: 0 / 1.153 GB, free: 0.8281 MB / 0.9044 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.002716/0.6881, allocations: 1.441 MB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6882, allocations: 8.031 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.6883, allocations: 90.52 kB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.6897, allocations: 250.7 kB / 1.155 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.6906, allocations: 0.5837 MB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.6906, allocations: 37 kB / 1.155 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6907, allocations: 51.98 kB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.692, allocations: 0.9608 MB / 1.156 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.6921, allocations: 11.89 kB / 1.156 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.6921, allocations: 20 kB / 1.156 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.6922, allocations: 31.98 kB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.6936, allocations: 0.9406 MB / 1.157 GB, free: 12.24 MB / 0.92 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.004641/0.6982, allocations: 4.262 MB / 1.162 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.6991, allocations: 0.6032 MB / 1.162 GB, free: 7.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.6998, allocations: 0.5136 MB / 1.163 GB, free: 6.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008589/0.7006, allocations: 0.8822 MB / 1.164 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.7007, allocations: 39 kB / 1.164 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001292/0.702, allocations: 415.2 kB / 1.164 GB, free: 5.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/0.702, allocations: 0 / 1.164 GB, free: 5.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01665/0.7186, allocations: 3.841 MB / 1.168 GB, free: 1.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.7187, allocations: 59.78 kB / 1.168 GB, free: 1.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.7194, allocations: 0.7039 MB / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.7195, allocations: 37.7 kB / 1.168 GB, free: 440 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.7197, allocations: 328.6 kB / 1.169 GB, free: 104 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.7198, allocations: 173.5 kB / 1.169 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.72, allocations: 146.1 kB / 1.169 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.7201, allocations: 330 kB / 1.169 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.7207, allocations: 392.9 kB / 1.17 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.7214, allocations: 489.5 kB / 1.17 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.7227, allocations: 0.9258 MB / 1.171 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.7228, allocations: 0 / 1.171 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01076/0.7335, allocations: 2.556 MB / 1.174 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7335, allocations: 8 kB / 1.174 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7336, allocations: 0 / 1.174 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009052/0.7426, allocations: 1.741 MB / 1.175 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.743, allocations: 91.86 kB / 1.175 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.7542, allocations: 7.146 MB / 1.182 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.7548, allocations: 20.05 kB / 1.182 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.7549, allocations: 47.92 kB / 1.182 GB, free: 1.684 MB / 0.9356 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.0002673/0.7552, allocations: 205.8 kB / 1.183 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.7554, allocations: 79.06 kB / 1.183 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.7601, allocations: 1.741 MB / 1.184 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.7601, allocations: 4 kB / 1.184 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.7601, allocations: 4 kB / 1.184 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7601, allocations: 7.984 kB / 1.184 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.7654, allocations: 2.544 MB / 1.187 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.7654, allocations: 192 / 1.187 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.7658, allocations: 91.89 kB / 1.187 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.769, allocations: 0.8057 MB / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.769, allocations: 19.98 kB / 1.188 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005914/0.775, allocations: 4.856 MB / 1.193 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.775, allocations: 4 kB / 1.193 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/0.7797, allocations: 2.155 MB / 1.195 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.78, allocations: 228 kB / 1.195 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.7801, allocations: 16 kB / 1.195 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.7806, allocations: 23.98 kB / 1.195 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7807, allocations: 52.44 kB / 1.195 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.7808, allocations: 19.98 kB / 1.195 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005066/0.7813, allocations: 0.499 MB / 1.196 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7813, allocations: 0 / 1.196 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007054/0.782, allocations: 291.8 kB / 1.196 GB, free: 3.598 MB / 0.9512 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.005227/0.7873, allocations: 2.817 MB / 1.199 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003189/0.7905, allocations: 1.508 MB / 1.2 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7905, allocations: 0 / 1.2 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.7921, allocations: 0.9148 MB / 1.201 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7939, allocations: 462.6 kB / 1.201 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/0.8211, allocations: 10.69 MB / 1.212 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.8216, allocations: 0.9867 MB / 1.213 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.8221, allocations: 150.6 kB / 1.213 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.8225, allocations: 287.3 kB / 1.213 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of SimCode: time 1.9e-07/0.8225, allocations: 0 / 1.213 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.8853, allocations: 29.45 MB / 1.242 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.067/9.952, allocations: 11.59 kB / 1.242 GB, free: 4.391 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches