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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007426/0.007426, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001802/0.001802, allocations: 201 kB / 16.68 MB, free: 5.965 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2966, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7943/1.091, allocations: 193.1 MB / 1.409 GB, free: 14.11 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006233/1.097, allocations: 4.017 MB / 1.413 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/1.098, allocations: 21.72 kB / 1.413 GB, free: 10.83 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/1.099, allocations: 487.4 kB / 1.414 GB, free: 10.44 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003592/1.103, allocations: 1.601 MB / 1.415 GB, free: 9.215 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003274/1.106, allocations: 1.374 MB / 1.417 GB, free: 8.215 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002322/1.108, allocations: 1.639 MB / 1.418 GB, free: 7.285 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.109, allocations: 0.8356 MB / 1.419 GB, free: 6.676 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/1.111, allocations: 0.9471 MB / 1.42 GB, free: 6.152 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000954/1.112, allocations: 0.847 MB / 1.421 GB, free: 5.629 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/1.112, allocations: 94.88 kB / 1.421 GB, free: 5.629 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/1.114, allocations: 1.315 MB / 1.422 GB, free: 4.918 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/1.114, allocations: 361.9 kB / 1.422 GB, free: 4.652 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/1.115, allocations: 0.5174 MB / 1.423 GB, free: 4.305 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/1.117, allocations: 1.632 MB / 1.424 GB, free: 3.246 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.117, allocations: 0 / 1.424 GB, free: 3.246 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.282e-06/1.117, allocations: 2.781 kB / 1.424 GB, free: 3.246 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.295e-05/1.117, allocations: 3.938 kB / 1.424 GB, free: 3.242 MB / 1.107 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.002708/1.12, allocations: 1.466 MB / 1.426 GB, free: 2.195 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/1.12, allocations: 13.97 kB / 1.426 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/1.121, allocations: 243.3 kB / 1.426 GB, free: 2.074 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/1.122, allocations: 0.6097 MB / 1.427 GB, free: 1.562 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/1.122, allocations: 41.83 kB / 1.427 GB, free: 1.539 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.122, allocations: 57.08 kB / 1.427 GB, free: 1.516 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.124, allocations: 0.9593 MB / 1.428 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.124, allocations: 2.562 kB / 1.428 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/1.124, allocations: 22.38 kB / 1.428 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/1.124, allocations: 27.2 kB / 1.428 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/1.125, allocations: 0.9413 MB / 1.429 GB, free: 15.99 MB / 1.123 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.005009/1.13, allocations: 4.275 MB / 1.433 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/1.131, allocations: 0.5331 MB / 1.433 GB, free: 11.01 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/1.132, allocations: 457.9 kB / 1.434 GB, free: 10.56 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/1.133, allocations: 0.8744 MB / 1.435 GB, free: 9.5 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.133, allocations: 43 kB / 1.435 GB, free: 9.445 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001421/1.134, allocations: 419.4 kB / 1.435 GB, free: 9.035 MB / 1.123 GB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/1.134, allocations: 0 / 1.435 GB, free: 9.035 MB / 1.123 GB Notification: Performance of matching and sorting (n=50): time 0.01763/1.152, allocations: 3.834 MB / 1.439 GB, free: 5.148 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/1.152, allocations: 59.84 kB / 1.439 GB, free: 5.078 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/1.153, allocations: 0.7116 MB / 1.44 GB, free: 4.359 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.153, allocations: 33.7 kB / 1.44 GB, free: 4.32 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/1.153, allocations: 324.8 kB / 1.44 GB, free: 4 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.153, allocations: 186.4 kB / 1.44 GB, free: 3.816 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/1.154, allocations: 150.1 kB / 1.44 GB, free: 3.664 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/1.154, allocations: 322 kB / 1.441 GB, free: 3.344 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/1.154, allocations: 397.6 kB / 1.441 GB, free: 2.953 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/1.155, allocations: 489.5 kB / 1.442 GB, free: 2.453 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.157, allocations: 0.9219 MB / 1.442 GB, free: 1.504 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.157, allocations: 4 kB / 1.442 GB, free: 1.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01133/1.168, allocations: 2.545 MB / 1.445 GB, free: 14.94 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.168, allocations: 8 kB / 1.445 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.168, allocations: 0 / 1.445 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009614/1.178, allocations: 1.733 MB / 1.447 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/1.178, allocations: 91.86 kB / 1.447 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/1.191, allocations: 7.16 MB / 1.454 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/1.192, allocations: 20.06 kB / 1.454 GB, free: 5.633 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/1.192, allocations: 47.92 kB / 1.454 GB, free: 5.586 MB / 1.139 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.0003709/1.192, allocations: 207.7 kB / 1.454 GB, free: 5.375 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.192, allocations: 87.44 kB / 1.454 GB, free: 5.289 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/1.197, allocations: 1.73 MB / 1.456 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.197, allocations: 7.938 kB / 1.456 GB, free: 3.535 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.197, allocations: 4 kB / 1.456 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.197, allocations: 7.984 kB / 1.456 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005912/1.203, allocations: 2.528 MB / 1.458 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.203, allocations: 0.9375 kB / 1.458 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/1.204, allocations: 91.89 kB / 1.458 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/1.207, allocations: 0.8054 MB / 1.459 GB, free: 8 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/1.207, allocations: 12.08 kB / 1.459 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/1.214, allocations: 4.864 MB / 1.464 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.214, allocations: 0 / 1.464 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/1.219, allocations: 2.136 MB / 1.466 GB, free: 8.68 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/1.22, allocations: 240.4 kB / 1.466 GB, free: 8.426 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.22, allocations: 12 kB / 1.466 GB, free: 8.414 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/1.22, allocations: 23.98 kB / 1.466 GB, free: 8.391 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/1.221, allocations: 56.42 kB / 1.466 GB, free: 8.336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/1.221, allocations: 16 kB / 1.466 GB, free: 8.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006132/1.221, allocations: 0.5029 MB / 1.467 GB, free: 7.824 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.221, allocations: 0 / 1.467 GB, free: 7.824 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009502/1.222, allocations: 283.8 kB / 1.467 GB, free: 7.547 MB / 1.154 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.0004547/1.223, allocations: 218.5 kB / 1.467 GB, free: 7.336 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003422/1.226, allocations: 1.414 MB / 1.469 GB, free: 5.891 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.226, allocations: 0 / 1.469 GB, free: 5.891 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.228, allocations: 0.86 MB / 1.469 GB, free: 5.004 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.23, allocations: 457.9 kB / 1.47 GB, free: 4.555 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/1.233, allocations: 1.735 MB / 1.472 GB, free: 2.789 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/1.233, allocations: 0.9789 MB / 1.473 GB, free: 1.785 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005251/1.234, allocations: 166.6 kB / 1.473 GB, free: 1.617 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/1.234, allocations: 67.36 kB / 1.473 GB, free: 1.551 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.234, allocations: 0 / 1.473 GB, free: 1.551 MB / 1.154 GB Notification: Performance of Templates: time 0.03521/1.269, allocations: 22.88 MB / 1.495 GB, free: 10.92 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (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 & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches