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.001872/0.001873, allocations: 105.4 kB / 15.99 MB, free: 6.344 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.001716/0.001716, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.53/1.53, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 60.08 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4429, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.062/1.505, allocations: 190.1 MB / 1.25 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008371/1.513, allocations: 3.999 MB / 1.254 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/1.515, allocations: 19.88 kB / 1.254 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/1.517, allocations: 417.8 kB / 1.254 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004852/1.522, allocations: 1.439 MB / 1.256 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00419/1.526, allocations: 1.251 MB / 1.257 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002847/1.529, allocations: 1.643 MB / 1.258 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/1.53, allocations: 0.9353 MB / 1.259 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/1.532, allocations: 0.9499 MB / 1.26 GB, free: 312 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/1.533, allocations: 0.8762 MB / 1.261 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/1.533, allocations: 96 kB / 1.261 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/1.536, allocations: 1.371 MB / 1.262 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004029/1.536, allocations: 351 kB / 1.263 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006196/1.537, allocations: 0.5094 MB / 1.263 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/1.539, allocations: 1.177 MB / 1.264 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.539, allocations: 0 / 1.264 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/1.539, allocations: 3.938 kB / 1.264 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.539, allocations: 0 / 1.264 GB, free: 11.92 MB / 0.9825 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.003369/1.542, allocations: 1.441 MB / 1.266 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.542, allocations: 12.62 kB / 1.266 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/1.544, allocations: 230.8 kB / 1.266 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.545, allocations: 0.5954 MB / 1.267 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/1.545, allocations: 40.94 kB / 1.267 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/1.545, allocations: 55.89 kB / 1.267 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/1.547, allocations: 0.9647 MB / 1.268 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/1.547, allocations: 4 kB / 1.268 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/1.547, allocations: 24 kB / 1.268 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/1.547, allocations: 27.98 kB / 1.268 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/1.549, allocations: 0.9406 MB / 1.269 GB, free: 7.43 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.00622/1.555, allocations: 4.255 MB / 1.273 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.556, allocations: 0.5957 MB / 1.273 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/1.557, allocations: 0.5213 MB / 1.274 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/1.558, allocations: 0.8744 MB / 1.275 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/1.558, allocations: 43 kB / 1.275 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001819/1.56, allocations: 451.1 kB / 1.275 GB, free: 324 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.496e-06/1.56, allocations: 0 / 1.275 GB, free: 324 kB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01826/1.578, allocations: 3.837 MB / 1.279 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.578, allocations: 59.78 kB / 1.279 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.58, allocations: 0.7116 MB / 1.28 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/1.58, allocations: 37.7 kB / 1.28 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/1.58, allocations: 324.6 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.58, allocations: 177.4 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/1.581, allocations: 150 kB / 1.28 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.581, allocations: 322 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/1.582, allocations: 396.9 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/1.582, allocations: 489.5 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/1.584, allocations: 0.9219 MB / 1.282 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.584, allocations: 0 / 1.282 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01177/1.596, allocations: 2.564 MB / 1.285 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.596, allocations: 8 kB / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.596, allocations: 0 / 1.285 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00999/1.606, allocations: 1.734 MB / 1.287 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/1.607, allocations: 91.86 kB / 1.287 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/1.621, allocations: 7.158 MB / 1.294 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.622, allocations: 27.98 kB / 1.294 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.623, allocations: 51.88 kB / 1.294 GB, free: 12.83 MB / 1.014 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.0006763/1.623, allocations: 205.7 kB / 1.294 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/1.624, allocations: 82.97 kB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/1.63, allocations: 1.734 MB / 1.296 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.63, allocations: 11.94 kB / 1.296 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.63, allocations: 4.75 kB / 1.296 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.63, allocations: 3.984 kB / 1.296 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/1.637, allocations: 2.544 MB / 1.298 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.637, allocations: 0 / 1.298 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/1.637, allocations: 95.5 kB / 1.298 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/1.641, allocations: 0.8017 MB / 1.299 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/1.641, allocations: 16 kB / 1.299 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007973/1.649, allocations: 4.86 MB / 1.304 GB, free: 2.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.649, allocations: 8 kB / 1.304 GB, free: 2.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/1.655, allocations: 2.147 MB / 1.306 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/1.656, allocations: 236.1 kB / 1.306 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/1.656, allocations: 12 kB / 1.306 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/1.657, allocations: 39.95 kB / 1.306 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/1.657, allocations: 56.44 kB / 1.306 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.657, allocations: 16 kB / 1.306 GB, free: 15.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009942/1.658, allocations: 0.499 MB / 1.307 GB, free: 15.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.658, allocations: 0 / 1.307 GB, free: 15.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001437/1.66, allocations: 283.8 kB / 1.307 GB, free: 14.75 MB / 1.029 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.0008446/1.661, allocations: 224.8 kB / 1.307 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004534/1.665, allocations: 1.525 MB / 1.309 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.665, allocations: 0 / 1.309 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.667, allocations: 0.903 MB / 1.31 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.67, allocations: 462 kB / 1.31 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/1.674, allocations: 2.011 MB / 1.312 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/1.675, allocations: 0.9828 MB / 1.313 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.675, allocations: 75.41 kB / 1.313 GB, free: 8.469 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.675, allocations: 0 / 1.313 GB, free: 8.469 MB / 1.029 GB Notification: Performance of Templates: time 0.03457/1.71, allocations: 19.28 MB / 1.332 GB, free: 5.309 MB / 1.045 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches