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.008539/0.008539, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001919/0.001919, allocations: 195.4 kB / 16.68 MB, free: 5.523 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.442/2.442, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7565, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1902/0.9467, allocations: 192.6 MB / 1.355 GB, free: 2.43 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00637/0.9531, allocations: 4.012 MB / 1.359 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009124/0.954, allocations: 19.94 kB / 1.359 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.9553, allocations: 480.9 kB / 1.359 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.9589, allocations: 1.52 MB / 1.361 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.9624, allocations: 1.375 MB / 1.362 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002311/0.9647, allocations: 1.632 MB / 1.364 GB, free: 9.375 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.966, allocations: 0.951 MB / 1.364 GB, free: 8.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.968, allocations: 0.9189 MB / 1.365 GB, free: 7.488 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.9697, allocations: 0.8526 MB / 1.366 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.9699, allocations: 96 kB / 1.366 GB, free: 6.539 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.9729, allocations: 1.305 MB / 1.368 GB, free: 5.23 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.9733, allocations: 355 kB / 1.368 GB, free: 4.883 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.974, allocations: 0.5055 MB / 1.368 GB, free: 4.375 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.9767, allocations: 1.644 MB / 1.37 GB, free: 2.73 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9767, allocations: 0 / 1.37 GB, free: 2.73 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9767, allocations: 4 kB / 1.37 GB, free: 2.727 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.9767, allocations: 0 / 1.37 GB, free: 2.727 MB / 1.092 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.002886/0.9796, allocations: 1.482 MB / 1.371 GB, free: 1.191 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9797, allocations: 12.03 kB / 1.371 GB, free: 1.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.9812, allocations: 239.2 kB / 1.372 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.9822, allocations: 0.6116 MB / 1.372 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.9822, allocations: 41 kB / 1.372 GB, free: 256 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.9823, allocations: 48 kB / 1.372 GB, free: 208 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.9838, allocations: 0.9648 MB / 1.373 GB, free: 15.17 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.9838, allocations: 7.891 kB / 1.373 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/0.9839, allocations: 20 kB / 1.373 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.9839, allocations: 31.97 kB / 1.373 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.9854, allocations: 0.9484 MB / 1.374 GB, free: 14.16 MB / 1.107 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.005075/0.9905, allocations: 4.255 MB / 1.378 GB, free: 9.734 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.9915, allocations: 0.5989 MB / 1.379 GB, free: 9.129 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.9923, allocations: 0.5117 MB / 1.38 GB, free: 8.613 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009965/0.9933, allocations: 0.8822 MB / 1.38 GB, free: 7.547 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.9933, allocations: 39 kB / 1.38 GB, free: 7.5 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001405/0.9947, allocations: 415.5 kB / 1.381 GB, free: 7.094 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.695e-06/0.9947, allocations: 0 / 1.381 GB, free: 7.094 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01755/1.012, allocations: 3.842 MB / 1.385 GB, free: 3.203 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/1.012, allocations: 63.72 kB / 1.385 GB, free: 3.129 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.013, allocations: 0.7156 MB / 1.385 GB, free: 2.406 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.014, allocations: 29.7 kB / 1.385 GB, free: 2.371 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/1.014, allocations: 320.9 kB / 1.386 GB, free: 2.055 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/1.014, allocations: 190.4 kB / 1.386 GB, free: 1.867 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/1.014, allocations: 154.1 kB / 1.386 GB, free: 1.711 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.014, allocations: 325.9 kB / 1.386 GB, free: 1.387 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/1.015, allocations: 392.9 kB / 1.387 GB, free: 1 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/1.016, allocations: 489.5 kB / 1.387 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/1.017, allocations: 0.9219 MB / 1.388 GB, free: 15.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.017, allocations: 0 / 1.388 GB, free: 15.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01129/1.029, allocations: 2.576 MB / 1.391 GB, free: 12.95 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.029, allocations: 4 kB / 1.391 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.029, allocations: 4 kB / 1.391 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00959/1.038, allocations: 1.73 MB / 1.392 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/1.039, allocations: 95.86 kB / 1.392 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.052, allocations: 7.141 MB / 1.399 GB, free: 3.676 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/1.052, allocations: 20.05 kB / 1.399 GB, free: 3.656 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.053, allocations: 47.92 kB / 1.399 GB, free: 3.609 MB / 1.123 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.000437/1.053, allocations: 205.8 kB / 1.4 GB, free: 3.398 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/1.053, allocations: 87.44 kB / 1.4 GB, free: 3.312 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/1.058, allocations: 1.741 MB / 1.401 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.059, allocations: 4 kB / 1.401 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.059, allocations: 4 kB / 1.401 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.059, allocations: 3.984 kB / 1.401 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/1.065, allocations: 2.544 MB / 1.404 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.065, allocations: 8 kB / 1.404 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/1.065, allocations: 83.89 kB / 1.404 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/1.069, allocations: 0.8059 MB / 1.405 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.605e-05/1.069, allocations: 16 kB / 1.405 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007031/1.076, allocations: 4.85 MB / 1.409 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.076, allocations: 8.406 kB / 1.409 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/1.081, allocations: 2.155 MB / 1.412 GB, free: 6.664 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/1.082, allocations: 236.4 kB / 1.412 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.082, allocations: 12 kB / 1.412 GB, free: 6.402 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/1.083, allocations: 19.98 kB / 1.412 GB, free: 6.383 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.083, allocations: 56.38 kB / 1.412 GB, free: 6.328 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/1.083, allocations: 23.98 kB / 1.412 GB, free: 6.305 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007713/1.084, allocations: 0.499 MB / 1.412 GB, free: 5.812 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.084, allocations: 0 / 1.412 GB, free: 5.812 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001125/1.085, allocations: 287.8 kB / 1.413 GB, free: 5.531 MB / 1.139 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.0006188/1.086, allocations: 230.9 kB / 1.413 GB, free: 5.301 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.089, allocations: 1.464 MB / 1.414 GB, free: 3.809 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.089, allocations: 256 / 1.414 GB, free: 3.809 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/1.091, allocations: 0.9183 MB / 1.415 GB, free: 2.867 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.094, allocations: 452.6 kB / 1.416 GB, free: 2.422 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/1.097, allocations: 1.736 MB / 1.417 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/1.098, allocations: 0.975 MB / 1.418 GB, free: 15.64 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007151/1.099, allocations: 166.6 kB / 1.418 GB, free: 15.48 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/1.099, allocations: 67.42 kB / 1.419 GB, free: 15.41 MB / 1.154 GB Notification: Performance of SimCode: time 2.244e-06/1.099, allocations: 0 / 1.419 GB, free: 15.41 MB / 1.154 GB Notification: Performance of Templates: time 0.0368/1.136, allocations: 22.76 MB / 1.441 GB, free: 8.902 MB / 1.17 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches