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: 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.001367/0.001367, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.00186, allocations: 174.5 kB / 16.92 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.572/1.572, allocations: 223.3 MB / 241 MB, free: 5.324 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.626/2.626, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 11.98 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.948, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.209/1.157, allocations: 187.9 MB / 1.139 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006597/1.164, allocations: 4.022 MB / 1.143 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/1.165, allocations: 15.88 kB / 1.143 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/1.166, allocations: 405.8 kB / 1.144 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003716/1.17, allocations: 1.439 MB / 1.145 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/1.173, allocations: 1.242 MB / 1.146 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002745/1.176, allocations: 2.349 MB / 1.148 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.177, allocations: 0.8748 MB / 1.149 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/1.178, allocations: 0.8563 MB / 1.15 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009931/1.179, allocations: 0.8682 MB / 1.151 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/1.179, allocations: 72 kB / 1.151 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/1.182, allocations: 1.562 MB / 1.153 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/1.182, allocations: 334.9 kB / 1.153 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004963/1.183, allocations: 0.5072 MB / 1.153 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/1.184, allocations: 1.138 MB / 1.154 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.184, allocations: 0 / 1.154 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.334e-06/1.184, allocations: 0 / 1.154 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.184, allocations: 0 / 1.154 GB, free: 3.098 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.002613/1.187, allocations: 1.184 MB / 1.156 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.187, allocations: 8.031 kB / 1.156 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/1.188, allocations: 242.8 kB / 1.156 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008784/1.189, allocations: 0.5875 MB / 1.156 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/1.189, allocations: 37 kB / 1.156 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.19, allocations: 51.98 kB / 1.157 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/1.191, allocations: 0.9648 MB / 1.157 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.191, allocations: 7.938 kB / 1.157 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/1.191, allocations: 16 kB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/1.191, allocations: 31.98 kB / 1.158 GB, free: 15.81 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.193, allocations: 0.9562 MB / 1.158 GB, free: 14.86 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.005092/1.198, allocations: 4.18 MB / 1.163 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/1.199, allocations: 0.6029 MB / 1.163 GB, free: 9.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/1.2, allocations: 0.5352 MB / 1.164 GB, free: 9.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.201, allocations: 0.8861 MB / 1.165 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.201, allocations: 42.98 kB / 1.165 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001527/1.202, allocations: 355.2 kB / 1.165 GB, free: 7.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 3.707e-06/1.202, allocations: 0 / 1.165 GB, free: 7.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01751/1.22, allocations: 3.685 MB / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.22, allocations: 63.77 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.221, allocations: 0.7117 MB / 1.169 GB, free: 3.348 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.221, allocations: 33.7 kB / 1.169 GB, free: 3.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/1.221, allocations: 324.6 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/1.222, allocations: 173.4 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.222, allocations: 49.69 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.222, allocations: 325.9 kB / 1.17 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/1.222, allocations: 404.9 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/1.223, allocations: 489.5 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.225, allocations: 0.9336 MB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.225, allocations: 4 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01142/1.236, allocations: 2.478 MB / 1.174 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/1.236, allocations: 11.94 kB / 1.174 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.236, allocations: 3.984 kB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009608/1.246, allocations: 1.558 MB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/1.246, allocations: 99.8 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/1.26, allocations: 6.551 MB / 1.182 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.261, allocations: 31.89 kB / 1.182 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/1.261, allocations: 51.92 kB / 1.182 GB, free: 5.473 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.0005694/1.262, allocations: 214.6 kB / 1.183 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/1.262, allocations: 79.06 kB / 1.183 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/1.267, allocations: 1.676 MB / 1.184 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.267, allocations: 8 kB / 1.184 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.267, allocations: 8 kB / 1.184 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.267, allocations: 3.984 kB / 1.184 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/1.274, allocations: 2.473 MB / 1.187 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.274, allocations: 0 / 1.187 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/1.274, allocations: 91.89 kB / 1.187 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/1.278, allocations: 0.669 MB / 1.188 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/1.278, allocations: 16 kB / 1.188 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/1.285, allocations: 4.41 MB / 1.192 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/1.285, allocations: 0 / 1.192 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/1.29, allocations: 2.1 MB / 1.194 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/1.291, allocations: 236 kB / 1.194 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/1.291, allocations: 12 kB / 1.194 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/1.292, allocations: 31.89 kB / 1.194 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.292, allocations: 64.36 kB / 1.194 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/1.292, allocations: 16 kB / 1.194 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007682/1.293, allocations: 0.5029 MB / 1.195 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.293, allocations: 0 / 1.195 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001178/1.294, allocations: 287.8 kB / 1.195 GB, free: 8.164 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.0006232/1.295, allocations: 222.2 kB / 1.195 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003637/1.298, allocations: 1.422 MB / 1.197 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.298, allocations: 0 / 1.197 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/1.3, allocations: 0.8913 MB / 1.197 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.303, allocations: 438.7 kB / 1.198 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.306, allocations: 2.088 MB / 1.2 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/1.307, allocations: 0.9828 MB / 1.201 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.307, allocations: 71.42 kB / 1.201 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/1.307, allocations: 0 / 1.201 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of Templates: time 0.02932/1.336, allocations: 19.17 MB / 1.22 GB, free: 14.89 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