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: 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_9_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_9_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.001664/0.001664, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001796/0.001796, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 4.496 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.634/2.634, allocations: 390.2 MB / 0.665 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 67.89 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9103/0.9119, allocations: 140.4 MB / 0.9498 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2309/1.143, allocations: 190.1 MB / 1.135 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00664/1.15, allocations: 4.014 MB / 1.139 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/1.151, allocations: 15.94 kB / 1.139 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/1.152, allocations: 413.8 kB / 1.14 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004057/1.156, allocations: 1.439 MB / 1.141 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/1.16, allocations: 1.247 MB / 1.142 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002398/1.162, allocations: 1.641 MB / 1.144 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/1.163, allocations: 0.9468 MB / 1.145 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/1.165, allocations: 0.9422 MB / 1.146 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/1.166, allocations: 0.8877 MB / 1.147 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/1.166, allocations: 96 kB / 1.147 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/1.169, allocations: 1.36 MB / 1.148 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/1.169, allocations: 355 kB / 1.148 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000581/1.17, allocations: 0.5133 MB / 1.149 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/1.172, allocations: 1.173 MB / 1.15 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.172, allocations: 0 / 1.15 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.192e-06/1.172, allocations: 0 / 1.15 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.23e-05/1.172, allocations: 0 / 1.15 GB, free: 4.316 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.003356/1.175, allocations: 1.441 MB / 1.152 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.175, allocations: 12.02 kB / 1.152 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.177, allocations: 246.7 kB / 1.152 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/1.178, allocations: 0.5876 MB / 1.152 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/1.178, allocations: 44.98 kB / 1.152 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.178, allocations: 48 kB / 1.152 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/1.179, allocations: 0.9551 MB / 1.153 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/1.179, allocations: 15.84 kB / 1.153 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/1.18, allocations: 20 kB / 1.153 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/1.18, allocations: 31.92 kB / 1.153 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/1.181, allocations: 0.9368 MB / 1.154 GB, free: 15.82 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.005927/1.187, allocations: 4.258 MB / 1.159 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.188, allocations: 0.5939 MB / 1.159 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/1.189, allocations: 0.5266 MB / 1.16 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.19, allocations: 0.8783 MB / 1.16 GB, free: 9.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.19, allocations: 46.98 kB / 1.161 GB, free: 9.141 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00184/1.192, allocations: 447.2 kB / 1.161 GB, free: 8.703 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 4.228e-06/1.192, allocations: 0 / 1.161 GB, free: 8.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01831/1.21, allocations: 3.841 MB / 1.165 GB, free: 4.809 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.211, allocations: 63.72 kB / 1.165 GB, free: 4.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.212, allocations: 0.7078 MB / 1.165 GB, free: 4.016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/1.212, allocations: 33.7 kB / 1.165 GB, free: 3.977 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.213, allocations: 324.6 kB / 1.166 GB, free: 3.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/1.213, allocations: 181.4 kB / 1.166 GB, free: 3.473 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/1.213, allocations: 146.1 kB / 1.166 GB, free: 3.324 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.213, allocations: 322 kB / 1.166 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007574/1.214, allocations: 392.9 kB / 1.167 GB, free: 2.617 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/1.215, allocations: 489.5 kB / 1.167 GB, free: 2.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/1.217, allocations: 0.9219 MB / 1.168 GB, free: 1.164 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.217, allocations: 0 / 1.168 GB, free: 1.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01184/1.228, allocations: 2.56 MB / 1.171 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.228, allocations: 4 kB / 1.171 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.228, allocations: 4 kB / 1.171 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.239, allocations: 1.738 MB / 1.172 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/1.239, allocations: 95.8 kB / 1.172 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/1.253, allocations: 7.146 MB / 1.179 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.254, allocations: 31.98 kB / 1.179 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/1.254, allocations: 43.94 kB / 1.179 GB, free: 5.227 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.0005496/1.255, allocations: 209.7 kB / 1.18 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.255, allocations: 79.06 kB / 1.18 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005716/1.261, allocations: 1.75 MB / 1.181 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.261, allocations: 7.938 kB / 1.181 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.261, allocations: 4 kB / 1.181 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.261, allocations: 3.984 kB / 1.181 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/1.268, allocations: 2.528 MB / 1.184 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.268, allocations: 4 kB / 1.184 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/1.268, allocations: 95.81 kB / 1.184 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.272, allocations: 0.7979 MB / 1.185 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.152e-05/1.272, allocations: 16 kB / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007827/1.28, allocations: 4.861 MB / 1.19 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.28, allocations: 11.98 kB / 1.19 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/1.286, allocations: 2.147 MB / 1.192 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/1.286, allocations: 239.9 kB / 1.192 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/1.287, allocations: 15.98 kB / 1.192 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/1.287, allocations: 27.98 kB / 1.192 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.288, allocations: 56.38 kB / 1.192 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/1.288, allocations: 23.98 kB / 1.192 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009103/1.289, allocations: 0.4951 MB / 1.193 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.289, allocations: 0 / 1.193 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001452/1.29, allocations: 283.8 kB / 1.193 GB, free: 7.133 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.0007357/1.291, allocations: 221.7 kB / 1.193 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004335/1.295, allocations: 1.515 MB / 1.194 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.295, allocations: 0 / 1.194 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.297, allocations: 0.9147 MB / 1.195 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/1.3, allocations: 466.8 kB / 1.196 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/1.304, allocations: 2.004 MB / 1.198 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/1.305, allocations: 0.9905 MB / 1.199 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.305, allocations: 75.41 kB / 1.199 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of SimCode: time 1.422e-06/1.305, allocations: 0 / 1.199 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of Templates: time 0.03181/1.337, allocations: 19.27 MB / 1.218 GB, free: 13.7 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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