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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00666/0.00666, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001612/0.001612, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.158/2.158, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7024/0.7038, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2016/0.9054, allocations: 192.6 MB / 1.276 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006306/0.9118, allocations: 4.016 MB / 1.279 GB, free: 9.043 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.9127, allocations: 19.88 kB / 1.28 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.9141, allocations: 481 kB / 1.28 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.9179, allocations: 1.524 MB / 1.281 GB, free: 7.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.9212, allocations: 1.363 MB / 1.283 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.9235, allocations: 1.635 MB / 1.284 GB, free: 4.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.9249, allocations: 0.9471 MB / 1.285 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.9266, allocations: 0.915 MB / 1.286 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.928, allocations: 0.8604 MB / 1.287 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.9283, allocations: 96 kB / 1.287 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.931, allocations: 1.305 MB / 1.288 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.9315, allocations: 351 kB / 1.289 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007755/0.9322, allocations: 0.5172 MB / 1.289 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.9349, allocations: 1.617 MB / 1.291 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9349, allocations: 11.94 kB / 1.291 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9349, allocations: 0 / 1.291 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.489e-05/0.9349, allocations: 0 / 1.291 GB, free: 13.38 MB / 1.029 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.003445/0.9384, allocations: 1.456 MB / 1.292 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9384, allocations: 8.031 kB / 1.292 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.9386, allocations: 90.52 kB / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.9403, allocations: 238.7 kB / 1.293 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.9414, allocations: 0.6109 MB / 1.293 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.9414, allocations: 37 kB / 1.293 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.9415, allocations: 48 kB / 1.293 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.9431, allocations: 0.9686 MB / 1.294 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.9431, allocations: 4 kB / 1.294 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.9432, allocations: 20 kB / 1.294 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.9432, allocations: 31.92 kB / 1.294 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.9448, allocations: 0.9406 MB / 1.295 GB, free: 8.758 MB / 1.029 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.00551/0.9503, allocations: 4.255 MB / 1.299 GB, free: 4.328 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.9513, allocations: 0.6016 MB / 1.3 GB, free: 3.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.9521, allocations: 0.5136 MB / 1.3 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009708/0.9531, allocations: 0.8783 MB / 1.301 GB, free: 2.141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.9531, allocations: 43 kB / 1.301 GB, free: 2.086 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001485/0.9546, allocations: 411.1 kB / 1.302 GB, free: 1.684 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 4.358e-06/0.9546, allocations: 4 kB / 1.302 GB, free: 1.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.0182/0.9728, allocations: 3.837 MB / 1.305 GB, free: 13.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.9729, allocations: 63.84 kB / 1.306 GB, free: 13.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/0.9739, allocations: 0.7116 MB / 1.306 GB, free: 12.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.974, allocations: 33.7 kB / 1.306 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.9742, allocations: 320.6 kB / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.9745, allocations: 177.4 kB / 1.307 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.9747, allocations: 158 kB / 1.307 GB, free: 12.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9749, allocations: 322 kB / 1.307 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.9756, allocations: 396.9 kB / 1.308 GB, free: 11.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.9763, allocations: 489.5 kB / 1.308 GB, free: 11.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.9779, allocations: 0.918 MB / 1.309 GB, free: 10.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9779, allocations: 4 kB / 1.309 GB, free: 10.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01179/0.9897, allocations: 2.56 MB / 1.311 GB, free: 7.559 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.9897, allocations: 8 kB / 1.311 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.9898, allocations: 4 kB / 1.311 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009993/0.9998, allocations: 1.73 MB / 1.313 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/1, allocations: 95.86 kB / 1.313 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/1.013, allocations: 7.133 MB / 1.32 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/1.014, allocations: 16 kB / 1.32 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/1.014, allocations: 52 kB / 1.32 GB, free: 14.21 MB / 1.061 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.0004231/1.014, allocations: 210.3 kB / 1.32 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/1.015, allocations: 83.05 kB / 1.321 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/1.02, allocations: 1.741 MB / 1.322 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.02, allocations: 8 kB / 1.322 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.02, allocations: 4 kB / 1.322 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.02, allocations: 3.984 kB / 1.322 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006219/1.026, allocations: 2.544 MB / 1.325 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.026, allocations: 0 / 1.325 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/1.027, allocations: 92.08 kB / 1.325 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003616/1.03, allocations: 0.8016 MB / 1.326 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/1.031, allocations: 12 kB / 1.326 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006753/1.037, allocations: 4.848 MB / 1.33 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.037, allocations: 0 / 1.33 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/1.043, allocations: 2.159 MB / 1.332 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/1.043, allocations: 231.9 kB / 1.333 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.043, allocations: 16 kB / 1.333 GB, free: 1.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/1.044, allocations: 19.98 kB / 1.333 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.044, allocations: 60.61 kB / 1.333 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/1.044, allocations: 20 kB / 1.333 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006832/1.045, allocations: 0.4951 MB / 1.333 GB, free: 440 kB / 1.061 GB Notification: Performance of sort global known variables: time 2.7e-07/1.045, allocations: 0 / 1.333 GB, free: 440 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001018/1.046, allocations: 287.8 kB / 1.334 GB, free: 152 kB / 1.061 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.006026/1.052, allocations: 2.804 MB / 1.336 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003694/1.056, allocations: 1.472 MB / 1.338 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.056, allocations: 0 / 1.338 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/1.058, allocations: 0.9265 MB / 1.339 GB, free: 10.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.06, allocations: 462 kB / 1.339 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/1.091, allocations: 10.42 MB / 1.349 GB, free: 15.8 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/1.092, allocations: 0.9828 MB / 1.35 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006441/1.092, allocations: 158.6 kB / 1.35 GB, free: 14.62 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/1.093, allocations: 283.3 kB / 1.351 GB, free: 14.35 MB / 1.092 GB Notification: Performance of SimCode: time 9.12e-07/1.093, allocations: 0 / 1.351 GB, free: 14.35 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05795/1.151, allocations: 29.68 MB / 1.38 GB, free: 1.055 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.05, allocations: 18.23 kB / 1.38 GB, free: 1.043 MB / 1.107 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/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