Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",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.006458/0.006458, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001557/0.001557, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.055/2.055, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6609, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2087/0.8697, allocations: 213.6 MB / 1.296 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.8829, allocations: 10.19 MB / 1.306 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.8843, allocations: 43.81 kB / 1.306 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.8864, allocations: 0.8313 MB / 1.307 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.8929, allocations: 2.901 MB / 1.31 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.8961, allocations: 1.413 MB / 1.311 GB, free: 8.566 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003561/0.8997, allocations: 3.171 MB / 1.314 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.9012, allocations: 1.03 MB / 1.315 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.903, allocations: 1.129 MB / 1.316 GB, free: 3.203 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.9051, allocations: 1.076 MB / 1.317 GB, free: 2.129 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.9054, allocations: 124 kB / 1.317 GB, free: 2.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004623/0.91, allocations: 2.732 MB / 1.32 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006008/0.9106, allocations: 498.6 kB / 1.321 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.9118, allocations: 0.7273 MB / 1.321 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.9162, allocations: 2.809 MB / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.9162, allocations: 0 / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.634e-06/0.9162, allocations: 0 / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.222e-05/0.9163, allocations: 4 kB / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004314/0.9206, allocations: 1.788 MB / 1.326 GB, free: 9.391 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.9207, allocations: 12.03 kB / 1.326 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.9209, allocations: 148.1 kB / 1.326 GB, free: 9.227 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.9239, allocations: 434 kB / 1.326 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.9255, allocations: 0.8979 MB / 1.327 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.9256, allocations: 73.98 kB / 1.327 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.9258, allocations: 99.91 kB / 1.327 GB, free: 7.688 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.9278, allocations: 1.194 MB / 1.329 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.9278, allocations: 0 / 1.329 GB, free: 6.461 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.9279, allocations: 40 kB / 1.329 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/0.928, allocations: 57.92 kB / 1.329 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.9298, allocations: 1.073 MB / 1.33 GB, free: 5.289 MB / 1.061 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.004986/0.9348, allocations: 4.746 MB / 1.334 GB, free: 148 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.9362, allocations: 0.9964 MB / 1.335 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.9373, allocations: 0.5947 MB / 1.336 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.9379, allocations: 0.6772 MB / 1.337 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.9379, allocations: 43.22 kB / 1.337 GB, free: 13.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.9379, allocations: 4 kB / 1.337 GB, free: 13.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.003972/0.9419, allocations: 2.3 MB / 1.339 GB, free: 11.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.942, allocations: 60.41 kB / 1.339 GB, free: 11.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/0.9427, allocations: 0.6334 MB / 1.34 GB, free: 10.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.9427, allocations: 41.7 kB / 1.34 GB, free: 10.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.943, allocations: 464 kB / 1.34 GB, free: 10.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.9433, allocations: 295.6 kB / 1.34 GB, free: 9.766 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.9435, allocations: 134.7 kB / 1.34 GB, free: 9.629 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9436, allocations: 394.7 kB / 1.341 GB, free: 9.234 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.9441, allocations: 321.8 kB / 1.341 GB, free: 8.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.9447, allocations: 430.5 kB / 1.342 GB, free: 8.469 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.9458, allocations: 0.7807 MB / 1.342 GB, free: 7.664 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9458, allocations: 0 / 1.342 GB, free: 7.664 MB / 1.076 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001465/0.9473, allocations: 0.9463 MB / 1.343 GB, free: 6.707 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9473, allocations: 12.19 kB / 1.343 GB, free: 6.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9473, allocations: 4 kB / 1.343 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.9476, allocations: 56.83 kB / 1.343 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.9482, allocations: 159.8 kB / 1.343 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004252/0.9487, allocations: 0.6031 MB / 1.344 GB, free: 5.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.9495, allocations: 31.89 kB / 1.344 GB, free: 5.816 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.9495, allocations: 28 kB / 1.344 GB, free: 5.789 MB / 1.076 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.9499, allocations: 305.5 kB / 1.344 GB, free: 5.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9501, allocations: 90.97 kB / 1.344 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.9516, allocations: 0.9246 MB / 1.345 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.9516, allocations: 8 kB / 1.345 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9516, allocations: 0 / 1.345 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/0.9528, allocations: 0.9309 MB / 1.346 GB, free: 3.465 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.9558, allocations: 2.114 MB / 1.348 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9558, allocations: 0 / 1.348 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/0.9567, allocations: 195.7 kB / 1.349 GB, free: 1.105 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.9567, allocations: 7.938 kB / 1.349 GB, free: 1.098 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.9568, allocations: 19.98 kB / 1.349 GB, free: 1.078 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9568, allocations: 4 kB / 1.349 GB, free: 1.074 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.9568, allocations: 0 / 1.349 GB, free: 1.074 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.9587, allocations: 1.384 MB / 1.35 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.9591, allocations: 255.9 kB / 1.35 GB, free: 15.4 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.9593, allocations: 23.98 kB / 1.35 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.96, allocations: 17.12 kB / 1.35 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.9601, allocations: 52.92 kB / 1.35 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.9601, allocations: 27.98 kB / 1.35 GB, free: 15.29 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004959/0.9606, allocations: 455 kB / 1.351 GB, free: 14.85 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9606, allocations: 4 kB / 1.351 GB, free: 14.84 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008049/0.9615, allocations: 315.9 kB / 1.351 GB, free: 14.54 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002301/0.9638, allocations: 2.054 MB / 1.353 GB, free: 12.46 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.9651, allocations: 0.8129 MB / 1.354 GB, free: 11.64 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9651, allocations: 4 kB / 1.354 GB, free: 11.64 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/0.9657, allocations: 438.1 kB / 1.354 GB, free: 11.21 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.9681, allocations: 0.5986 MB / 1.355 GB, free: 10.63 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009798/0.9779, allocations: 7.522 MB / 1.362 GB, free: 2.93 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.9786, allocations: 1.12 MB / 1.363 GB, free: 1.777 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008508/0.9794, allocations: 247.8 kB / 1.364 GB, free: 1.531 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.98, allocations: 395.3 kB / 1.364 GB, free: 1.145 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/0.98, allocations: 0 / 1.364 GB, free: 1.145 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/1.03, allocations: 28.08 MB / 1.391 GB, free: 5.461 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.87, allocations: 5.297 kB / 1.391 GB, free: 5.461 MB / 1.123 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches