Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002079/0.002079, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.91 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6634, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2202/0.8837, allocations: 190.4 MB / 1.203 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006547/0.8902, allocations: 4.048 MB / 1.207 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.891, allocations: 19.88 kB / 1.207 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.8922, allocations: 397.8 kB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.8958, allocations: 1.443 MB / 1.208 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.8992, allocations: 1.244 MB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003057/0.9023, allocations: 2.349 MB / 1.212 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.9035, allocations: 0.8909 MB / 1.213 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.9052, allocations: 0.8525 MB / 1.214 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.9063, allocations: 0.8877 MB / 1.214 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.9065, allocations: 76 kB / 1.214 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.9094, allocations: 1.574 MB / 1.216 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.9098, allocations: 335 kB / 1.216 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.9104, allocations: 0.4899 MB / 1.217 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.913, allocations: 1.706 MB / 1.218 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.913, allocations: 0 / 1.218 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.913, allocations: 0 / 1.218 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.913, allocations: 4 kB / 1.218 GB, free: 3.23 MB / 0.9669 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.00332/0.9164, allocations: 1.456 MB / 1.22 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9164, allocations: 8.031 kB / 1.22 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.9181, allocations: 234.8 kB / 1.22 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.9191, allocations: 0.5837 MB / 1.221 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.9191, allocations: 37 kB / 1.221 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.9193, allocations: 55.91 kB / 1.221 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.9209, allocations: 0.9609 MB / 1.222 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9209, allocations: 11.88 kB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.921, allocations: 20 kB / 1.222 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.9211, allocations: 31.98 kB / 1.222 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.9228, allocations: 0.9406 MB / 1.223 GB, free: 14.73 MB / 0.9825 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.005964/0.9287, allocations: 4.254 MB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.9298, allocations: 0.5977 MB / 1.227 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/0.9307, allocations: 0.5175 MB / 1.228 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.9318, allocations: 0.8744 MB / 1.229 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.9319, allocations: 39 kB / 1.229 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001881/0.9338, allocations: 435.1 kB / 1.229 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 4.118e-06/0.9338, allocations: 0 / 1.229 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01926/0.953, allocations: 3.841 MB / 1.233 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.9531, allocations: 59.78 kB / 1.233 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.9544, allocations: 0.7078 MB / 1.234 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.9546, allocations: 37.7 kB / 1.234 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.9549, allocations: 324.6 kB / 1.234 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.9552, allocations: 177.4 kB / 1.234 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.9556, allocations: 150 kB / 1.234 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9558, allocations: 326 kB / 1.235 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.9565, allocations: 396.9 kB / 1.235 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.9574, allocations: 481.5 kB / 1.236 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.959, allocations: 0.9257 MB / 1.236 GB, free: 104 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9591, allocations: 0 / 1.236 GB, free: 104 kB / 0.9825 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01222/0.9713, allocations: 2.564 MB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.9713, allocations: 8 kB / 1.239 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9713, allocations: 0 / 1.239 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.982, allocations: 1.726 MB / 1.241 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.9826, allocations: 99.8 kB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.9962, allocations: 6.663 MB / 1.247 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.9971, allocations: 19.98 kB / 1.247 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.9973, allocations: 43.94 kB / 1.247 GB, free: 4.672 MB / 0.9981 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.0006014/0.9979, allocations: 221.6 kB / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/0.9983, allocations: 87.23 kB / 1.248 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/1.004, allocations: 1.734 MB / 1.249 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.004, allocations: 4 kB / 1.249 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.004, allocations: 4 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.004, allocations: 7.984 kB / 1.249 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5113/1.515, allocations: 2.539 MB / 1.252 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.515, allocations: 6.109 kB / 1.252 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/1.516, allocations: 87.94 kB / 1.252 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/1.52, allocations: 0.8013 MB / 1.253 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.52, allocations: 14.56 kB / 1.253 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006257/1.526, allocations: 4.485 MB / 1.257 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.526, allocations: 1.594 kB / 1.257 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/1.532, allocations: 2.147 MB / 1.259 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/1.533, allocations: 237.6 kB / 1.259 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.533, allocations: 16.8 kB / 1.259 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/1.533, allocations: 31.25 kB / 1.259 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.534, allocations: 50.16 kB / 1.26 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/1.534, allocations: 20.27 kB / 1.26 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006753/1.534, allocations: 0.5035 MB / 1.26 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.534, allocations: 3.562 kB / 1.26 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001005/1.535, allocations: 286.5 kB / 1.26 GB, free: 229.1 MB / 0.9981 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.0005213/1.536, allocations: 222.8 kB / 1.261 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003653/1.539, allocations: 1.459 MB / 1.262 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.54, allocations: 1.094 kB / 1.262 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.541, allocations: 0.9123 MB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/1.544, allocations: 443.2 kB / 1.263 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/1.547, allocations: 1.969 MB / 1.265 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/1.548, allocations: 0.9847 MB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008036/1.548, allocations: 158.2 kB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/1.549, allocations: 71.42 kB / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.549, allocations: 0 / 1.266 GB, free: 226 MB / 0.9981 GB Notification: Performance of Templates: time 0.03277/1.581, allocations: 21.68 MB / 1.288 GB, free: 217.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches