Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_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.009621/0.009621, allocations: 101.4 kB / 15.73 MB, free: 6.023 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.001779/0.001779, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.121/3.121, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.91 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4051, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.263/1.668, allocations: 213.6 MB / 1.416 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01762/1.686, allocations: 10.19 MB / 1.426 GB, free: 4.215 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/1.689, allocations: 37.03 kB / 1.426 GB, free: 4.203 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003264/1.692, allocations: 0.8423 MB / 1.427 GB, free: 3.516 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/1.704, allocations: 2.889 MB / 1.43 GB, free: 1.301 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/1.71, allocations: 1.427 MB / 1.431 GB, free: 208 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006972/1.717, allocations: 3.161 MB / 1.434 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/1.719, allocations: 1.033 MB / 1.435 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/1.723, allocations: 1.138 MB / 1.436 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/1.726, allocations: 1.08 MB / 1.437 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006289/1.727, allocations: 124 kB / 1.437 GB, free: 11.45 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008998/1.736, allocations: 2.728 MB / 1.44 GB, free: 8.715 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/1.738, allocations: 498.6 kB / 1.44 GB, free: 8.227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002946/1.741, allocations: 0.7235 MB / 1.441 GB, free: 7.5 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/1.752, allocations: 2.809 MB / 1.444 GB, free: 4.684 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.669e-05/1.752, allocations: 4 kB / 1.444 GB, free: 4.68 MB / 1.123 GB Notification: Performance of FrontEnd: time 8.576e-06/1.752, allocations: 4 kB / 1.444 GB, free: 4.676 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001383/1.752, allocations: 3.938 kB / 1.444 GB, free: 4.672 MB / 1.123 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.009237/1.761, allocations: 1.782 MB / 1.446 GB, free: 2.84 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 9.855e-05/1.762, allocations: 12.62 kB / 1.446 GB, free: 2.828 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000712/1.762, allocations: 152 kB / 1.446 GB, free: 2.672 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/1.767, allocations: 438 kB / 1.446 GB, free: 2.242 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/1.77, allocations: 0.8747 MB / 1.447 GB, free: 1.324 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.77, allocations: 81.98 kB / 1.447 GB, free: 1.242 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/1.77, allocations: 103.9 kB / 1.447 GB, free: 1.141 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/1.773, allocations: 1.198 MB / 1.448 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/1.773, allocations: 4 kB / 1.448 GB, free: 15.9 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.773, allocations: 39.94 kB / 1.448 GB, free: 15.86 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/1.773, allocations: 53.94 kB / 1.449 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/1.775, allocations: 1.073 MB / 1.45 GB, free: 14.74 MB / 1.139 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.007167/1.783, allocations: 4.754 MB / 1.454 GB, free: 9.586 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.784, allocations: 0.9924 MB / 1.455 GB, free: 8.555 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/1.785, allocations: 0.5909 MB / 1.456 GB, free: 7.961 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/1.786, allocations: 0.681 MB / 1.456 GB, free: 7.133 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/1.786, allocations: 49.89 kB / 1.456 GB, free: 7.078 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 3.717e-06/1.786, allocations: 0 / 1.456 GB, free: 7.078 MB / 1.139 GB Notification: Performance of matching and sorting (n=83): time 0.004678/1.791, allocations: 2.296 MB / 1.459 GB, free: 4.73 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/1.791, allocations: 68.34 kB / 1.459 GB, free: 4.652 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/1.792, allocations: 0.6334 MB / 1.459 GB, free: 4.012 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/1.792, allocations: 45.7 kB / 1.459 GB, free: 3.961 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.792, allocations: 456 kB / 1.46 GB, free: 3.508 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/1.793, allocations: 291.6 kB / 1.46 GB, free: 3.219 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.793, allocations: 138.6 kB / 1.46 GB, free: 3.074 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.793, allocations: 394.7 kB / 1.461 GB, free: 2.68 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/1.794, allocations: 317.8 kB / 1.461 GB, free: 2.371 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/1.794, allocations: 426.5 kB / 1.461 GB, free: 1.93 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.795, allocations: 0.7846 MB / 1.462 GB, free: 1.117 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.795, allocations: 0 / 1.462 GB, free: 1.117 MB / 1.139 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001706/1.797, allocations: 0.9504 MB / 1.463 GB, free: 164 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.797, allocations: 4 kB / 1.463 GB, free: 160 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.797, allocations: 4 kB / 1.463 GB, free: 156 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/1.797, allocations: 56.77 kB / 1.463 GB, free: 96 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/1.798, allocations: 163.7 kB / 1.463 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/1.799, allocations: 0.6031 MB / 1.464 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/1.8, allocations: 23.98 kB / 1.464 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/1.8, allocations: 28 kB / 1.464 GB, free: 15.25 MB / 1.154 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.000644/1.8, allocations: 305.5 kB / 1.464 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.801, allocations: 90.97 kB / 1.464 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.802, allocations: 0.9235 MB / 1.465 GB, free: 13.92 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.802, allocations: 11.94 kB / 1.465 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.802, allocations: 3.984 kB / 1.465 GB, free: 13.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/1.804, allocations: 0.9309 MB / 1.466 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/1.807, allocations: 2.118 MB / 1.468 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.807, allocations: 0 / 1.468 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/1.808, allocations: 191.8 kB / 1.468 GB, free: 10.56 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.808, allocations: 4 kB / 1.468 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/1.808, allocations: 23.92 kB / 1.468 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.808, allocations: 5.062 kB / 1.468 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.808, allocations: 0 / 1.468 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.81, allocations: 1.38 MB / 1.47 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/1.811, allocations: 259.9 kB / 1.47 GB, free: 8.859 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/1.811, allocations: 16 kB / 1.47 GB, free: 8.844 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/1.812, allocations: 22.42 kB / 1.47 GB, free: 8.824 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.812, allocations: 56.86 kB / 1.47 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/1.812, allocations: 27.98 kB / 1.47 GB, free: 8.738 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000612/1.813, allocations: 455 kB / 1.471 GB, free: 8.301 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/1.813, allocations: 0 / 1.471 GB, free: 8.301 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001037/1.814, allocations: 319.9 kB / 1.471 GB, free: 7.988 MB / 1.154 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.002712/1.816, allocations: 2.048 MB / 1.473 GB, free: 5.918 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.818, allocations: 0.8206 MB / 1.474 GB, free: 5.094 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.818, allocations: 0.5 kB / 1.474 GB, free: 5.094 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/1.819, allocations: 437.6 kB / 1.474 GB, free: 4.672 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.821, allocations: 0.5921 MB / 1.475 GB, free: 4.086 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.833, allocations: 7.521 MB / 1.482 GB, free: 12.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/1.834, allocations: 1.116 MB / 1.483 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001048/1.835, allocations: 259.8 kB / 1.483 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/1.835, allocations: 391.3 kB / 1.484 GB, free: 10.6 MB / 1.17 GB Notification: Performance of SimCode: time 1.112e-06/1.835, allocations: 0 / 1.484 GB, free: 10.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06352/1.899, allocations: 28.54 MB / 1.512 GB, free: 14.43 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/15.24, allocations: 8.578 kB / 1.512 GB, free: 14.42 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches