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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001344/0.001344, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.595/1.595, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.675/2.675, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 11.98 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.8553, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2513/1.107, allocations: 187.9 MB / 1.139 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009004/1.116, allocations: 4.034 MB / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/1.118, allocations: 19.88 kB / 1.143 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/1.12, allocations: 401.8 kB / 1.143 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005136/1.125, allocations: 1.443 MB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/1.129, allocations: 1.243 MB / 1.146 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003144/1.132, allocations: 2.349 MB / 1.148 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/1.134, allocations: 0.8748 MB / 1.149 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/1.136, allocations: 0.8563 MB / 1.15 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/1.137, allocations: 0.8721 MB / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003676/1.138, allocations: 72 kB / 1.15 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/1.141, allocations: 1.566 MB / 1.152 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006232/1.142, allocations: 331 kB / 1.152 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.143, allocations: 0.5072 MB / 1.153 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/1.146, allocations: 1.678 MB / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.146, allocations: 0 / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.345e-06/1.146, allocations: 0 / 1.154 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.157e-05/1.146, allocations: 4 kB / 1.154 GB, free: 2.543 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.00328/1.149, allocations: 1.184 MB / 1.156 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.15, allocations: 8.031 kB / 1.156 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/1.15, allocations: 94.52 kB / 1.156 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/1.152, allocations: 234.8 kB / 1.156 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/1.153, allocations: 0.5914 MB / 1.157 GB, free: 340 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/1.153, allocations: 41 kB / 1.157 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.153, allocations: 51.98 kB / 1.157 GB, free: 248 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.154, allocations: 0.9648 MB / 1.158 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/1.154, allocations: 7.938 kB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/1.155, allocations: 23.98 kB / 1.158 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/1.155, allocations: 31.98 kB / 1.158 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/1.156, allocations: 0.9523 MB / 1.159 GB, free: 14.2 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.005394/1.162, allocations: 4.172 MB / 1.163 GB, free: 9.844 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/1.163, allocations: 0.6113 MB / 1.163 GB, free: 9.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/1.163, allocations: 0.5213 MB / 1.164 GB, free: 8.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.164, allocations: 0.8939 MB / 1.165 GB, free: 7.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.164, allocations: 39 kB / 1.165 GB, free: 7.578 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001492/1.166, allocations: 355.2 kB / 1.165 GB, free: 7.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 5.891e-06/1.166, allocations: 3.938 kB / 1.165 GB, free: 7.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01737/1.183, allocations: 3.689 MB / 1.169 GB, free: 3.484 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.183, allocations: 59.78 kB / 1.169 GB, free: 3.414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/1.185, allocations: 0.7116 MB / 1.169 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/1.185, allocations: 37.7 kB / 1.169 GB, free: 2.648 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/1.185, allocations: 324.6 kB / 1.17 GB, free: 2.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.185, allocations: 173.4 kB / 1.17 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.185, allocations: 49.69 kB / 1.17 GB, free: 2.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.186, allocations: 322 kB / 1.17 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/1.186, allocations: 400.9 kB / 1.171 GB, free: 1.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/1.187, allocations: 493.5 kB / 1.171 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.189, allocations: 0.9297 MB / 1.172 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.189, allocations: 0 / 1.172 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01137/1.2, allocations: 2.486 MB / 1.174 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.2, allocations: 8 kB / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.2, allocations: 0 / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009627/1.21, allocations: 1.554 MB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/1.21, allocations: 103.9 kB / 1.176 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/1.222, allocations: 6.554 MB / 1.182 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009336/1.223, allocations: 35.83 kB / 1.182 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.223, allocations: 51.86 kB / 1.183 GB, free: 4.824 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.0004539/1.224, allocations: 209.7 kB / 1.183 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/1.224, allocations: 79.06 kB / 1.183 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/1.229, allocations: 1.679 MB / 1.184 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.229, allocations: 11.94 kB / 1.184 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.229, allocations: 0 / 1.184 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.229, allocations: 7.984 kB / 1.184 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005989/1.235, allocations: 2.478 MB / 1.187 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.235, allocations: 4.031 kB / 1.187 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/1.236, allocations: 91.89 kB / 1.187 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/1.239, allocations: 0.6613 MB / 1.188 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/1.239, allocations: 16 kB / 1.188 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006977/1.246, allocations: 4.405 MB / 1.192 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.246, allocations: 7.938 kB / 1.192 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/1.252, allocations: 2.1 MB / 1.194 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/1.252, allocations: 231.9 kB / 1.194 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.252, allocations: 16 kB / 1.194 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/1.253, allocations: 31.98 kB / 1.194 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.253, allocations: 56.36 kB / 1.194 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/1.253, allocations: 24 kB / 1.194 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007521/1.254, allocations: 0.4951 MB / 1.195 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.254, allocations: 3.938 kB / 1.195 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001165/1.255, allocations: 283.8 kB / 1.195 GB, free: 7.516 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.006171/1.262, allocations: 2.76 MB / 1.198 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003571/1.265, allocations: 1.422 MB / 1.199 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.265, allocations: 0 / 1.199 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.267, allocations: 0.8915 MB / 1.2 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.27, allocations: 441.1 kB / 1.2 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/1.301, allocations: 10.83 MB / 1.211 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/1.301, allocations: 0.9866 MB / 1.212 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007801/1.302, allocations: 170.6 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/1.303, allocations: 283.3 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of SimCode: time 1.223e-06/1.303, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/1.355, allocations: 27.89 MB / 1.24 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/1.355, allocations: 254.4 kB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/4.14, allocations: 0 / 1.24 GB, free: 9.68 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