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.001706/0.001706, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001821/0.001821, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.506/1.506, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.7/2.7, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 75.2 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4092, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.9518/1.361, allocations: 192.6 MB / 1.206 GB, free: 3.445 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007808/1.369, allocations: 4.013 MB / 1.21 GB, free: 172 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/1.37, allocations: 16.44 kB / 1.21 GB, free: 168 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/1.372, allocations: 479.7 kB / 1.21 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/1.377, allocations: 1.525 MB / 1.212 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/1.381, allocations: 1.354 MB / 1.213 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002914/1.384, allocations: 1.634 MB / 1.215 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/1.385, allocations: 0.951 MB / 1.216 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/1.387, allocations: 0.9204 MB / 1.217 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/1.388, allocations: 0.8488 MB / 1.218 GB, free: 11.03 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/1.388, allocations: 96 kB / 1.218 GB, free: 11.03 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/1.391, allocations: 1.307 MB / 1.219 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/1.392, allocations: 357 kB / 1.219 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006516/1.393, allocations: 0.5197 MB / 1.22 GB, free: 9.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/1.395, allocations: 1.615 MB / 1.221 GB, free: 8.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.395, allocations: 0 / 1.221 GB, free: 8.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/1.395, allocations: 0 / 1.221 GB, free: 8.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.395, allocations: 0 / 1.221 GB, free: 8.66 MB / 0.92 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.003181/1.399, allocations: 1.443 MB / 1.223 GB, free: 7.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.399, allocations: 7.688 kB / 1.223 GB, free: 7.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/1.4, allocations: 245.8 kB / 1.223 GB, free: 7.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/1.401, allocations: 0.5822 MB / 1.224 GB, free: 6.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/1.401, allocations: 37 kB / 1.224 GB, free: 6.785 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.401, allocations: 59.92 kB / 1.224 GB, free: 6.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/1.403, allocations: 0.9609 MB / 1.225 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/1.403, allocations: 3.906 kB / 1.225 GB, free: 5.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/1.403, allocations: 24 kB / 1.225 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/1.403, allocations: 31.98 kB / 1.225 GB, free: 5.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.405, allocations: 0.9367 MB / 1.226 GB, free: 4.699 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.00593/1.411, allocations: 4.262 MB / 1.23 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/1.412, allocations: 0.5913 MB / 1.23 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008261/1.413, allocations: 0.5252 MB / 1.231 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.414, allocations: 0.8705 MB / 1.232 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/1.414, allocations: 46.92 kB / 1.232 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001585/1.416, allocations: 411.2 kB / 1.232 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 3.407e-06/1.416, allocations: 0 / 1.232 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.01838/1.434, allocations: 3.841 MB / 1.236 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/1.434, allocations: 59.83 kB / 1.236 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.435, allocations: 0.7077 MB / 1.237 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/1.435, allocations: 37.7 kB / 1.237 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/1.436, allocations: 324.5 kB / 1.237 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/1.436, allocations: 173.4 kB / 1.237 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/1.436, allocations: 146.1 kB / 1.237 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.436, allocations: 334 kB / 1.238 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/1.437, allocations: 396.9 kB / 1.238 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/1.438, allocations: 481.5 kB / 1.238 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.44, allocations: 0.9258 MB / 1.239 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.44, allocations: 0 / 1.239 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01181/1.451, allocations: 2.556 MB / 1.242 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/1.452, allocations: 8 kB / 1.242 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.452, allocations: 0 / 1.242 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009982/1.462, allocations: 1.73 MB / 1.244 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/1.462, allocations: 95.88 kB / 1.244 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/1.476, allocations: 7.169 MB / 1.251 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.477, allocations: 20.05 kB / 1.251 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.477, allocations: 47.92 kB / 1.251 GB, free: 10.16 MB / 0.9512 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.0004479/1.477, allocations: 205.7 kB / 1.251 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/1.478, allocations: 79.06 kB / 1.251 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005394/1.483, allocations: 1.742 MB / 1.253 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.483, allocations: 7.938 kB / 1.253 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.483, allocations: 4 kB / 1.253 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.483, allocations: 3.984 kB / 1.253 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/1.489, allocations: 2.552 MB / 1.255 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.489, allocations: 0 / 1.255 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/1.49, allocations: 89.95 kB / 1.255 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/1.493, allocations: 0.8017 MB / 1.256 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/1.494, allocations: 19.98 kB / 1.256 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007443/1.501, allocations: 4.857 MB / 1.261 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.501, allocations: 4.094 kB / 1.261 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/1.507, allocations: 2.151 MB / 1.263 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/1.507, allocations: 232 kB / 1.263 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.508, allocations: 13.12 kB / 1.263 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/1.508, allocations: 23.98 kB / 1.263 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.508, allocations: 56.44 kB / 1.263 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.508, allocations: 16 kB / 1.263 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007119/1.509, allocations: 0.5029 MB / 1.264 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.509, allocations: 0 / 1.264 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001055/1.51, allocations: 283.8 kB / 1.264 GB, free: 12.08 MB / 0.9669 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.0005819/1.511, allocations: 224 kB / 1.264 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004091/1.515, allocations: 1.516 MB / 1.266 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/1.515, allocations: 0 / 1.266 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.517, allocations: 0.9226 MB / 1.267 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.519, allocations: 460.9 kB / 1.267 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/1.523, allocations: 1.772 MB / 1.269 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/1.524, allocations: 0.9828 MB / 1.27 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/1.524, allocations: 67.41 kB / 1.27 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/1.524, allocations: 0 / 1.27 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of Templates: time 0.02933/1.553, allocations: 19.3 MB / 1.289 GB, free: 2.867 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches