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.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.167/1.167, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.375/2.375, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.98 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2241, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.5993/0.8235, allocations: 213.6 MB / 1.272 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.8336, allocations: 10.2 MB / 1.282 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.8349, allocations: 39.66 kB / 1.282 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.8367, allocations: 0.8376 MB / 1.283 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.8421, allocations: 2.886 MB / 1.286 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.8448, allocations: 1.408 MB / 1.287 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.848, allocations: 3.167 MB / 1.29 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.8491, allocations: 1.03 MB / 1.291 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.8503, allocations: 1.134 MB / 1.292 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.8518, allocations: 1.069 MB / 1.294 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.852, allocations: 122.2 kB / 1.294 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.8562, allocations: 2.731 MB / 1.296 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.8566, allocations: 0.4942 MB / 1.297 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.8573, allocations: 0.7313 MB / 1.298 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.8604, allocations: 2.781 MB / 1.3 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8604, allocations: 1.219 kB / 1.3 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8604, allocations: 0.9062 kB / 1.3 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.8605, allocations: 0 / 1.3 GB, free: 3.828 MB / 0.9981 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.003263/0.8637, allocations: 1.798 MB / 1.302 GB, free: 18.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.8638, allocations: 8.844 kB / 1.302 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.8639, allocations: 153.3 kB / 1.302 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.8665, allocations: 432.2 kB / 1.303 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.8675, allocations: 0.8437 MB / 1.303 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.8676, allocations: 75.05 kB / 1.303 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.8677, allocations: 98.41 kB / 1.304 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.8693, allocations: 1.201 MB / 1.305 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.8693, allocations: 7.094 kB / 1.305 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.8694, allocations: 38.31 kB / 1.305 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/0.8695, allocations: 57.84 kB / 1.305 GB, free: 18.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.871, allocations: 1.074 MB / 1.306 GB, free: 18.36 MB / 1.014 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.004175/0.8752, allocations: 4.775 MB / 1.311 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.8764, allocations: 0.986 MB / 1.311 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008882/0.8773, allocations: 0.5736 MB / 1.312 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.8779, allocations: 0.6787 MB / 1.313 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.878, allocations: 45.31 kB / 1.313 GB, free: 14.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.878, allocations: 3.094 kB / 1.313 GB, free: 14.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.00336/0.8813, allocations: 2.301 MB / 1.315 GB, free: 14.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.8814, allocations: 63 kB / 1.315 GB, free: 14.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.882, allocations: 0.6364 MB / 1.316 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.882, allocations: 50.89 kB / 1.316 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.8822, allocations: 457.1 kB / 1.316 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.8824, allocations: 289.1 kB / 1.316 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.8826, allocations: 138.1 kB / 1.317 GB, free: 13.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8827, allocations: 392.1 kB / 1.317 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.8832, allocations: 323.8 kB / 1.317 GB, free: 13.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.8836, allocations: 426 kB / 1.318 GB, free: 13.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.8846, allocations: 0.7815 MB / 1.318 GB, free: 13.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8846, allocations: 0 / 1.318 GB, free: 13.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001219/0.8858, allocations: 0.9492 MB / 1.319 GB, free: 12.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8858, allocations: 12.5 kB / 1.319 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.8858, allocations: 3.25 kB / 1.319 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.886, allocations: 57.64 kB / 1.319 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.8866, allocations: 154.4 kB / 1.32 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/0.8871, allocations: 0.6076 MB / 1.32 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.8878, allocations: 32.12 kB / 1.32 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.8878, allocations: 24.41 kB / 1.32 GB, free: 12.38 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 (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.0003603/0.8882, allocations: 308.1 kB / 1.321 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.8883, allocations: 88 kB / 1.321 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.8896, allocations: 0.9259 MB / 1.322 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.8896, allocations: 14.36 kB / 1.322 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8896, allocations: 3.938 kB / 1.322 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000993/0.8906, allocations: 0.9276 MB / 1.322 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.8929, allocations: 2.111 MB / 1.324 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8929, allocations: 1.031 kB / 1.324 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008087/0.8937, allocations: 193.7 kB / 1.325 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8937, allocations: 6.5 kB / 1.325 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.8938, allocations: 19.97 kB / 1.325 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.8938, allocations: 7.406 kB / 1.325 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8938, allocations: 0.7812 kB / 1.325 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.8953, allocations: 1.383 MB / 1.326 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.8956, allocations: 255 kB / 1.326 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.8957, allocations: 18.2 kB / 1.326 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.8963, allocations: 24.3 kB / 1.326 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.8964, allocations: 51.11 kB / 1.326 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.8965, allocations: 30.33 kB / 1.326 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003874/0.8969, allocations: 453.1 kB / 1.327 GB, free: 11.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8969, allocations: 3.844 kB / 1.327 GB, free: 11.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006458/0.8975, allocations: 324.8 kB / 1.327 GB, free: 11.09 MB / 1.014 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.001918/0.8995, allocations: 2.048 MB / 1.329 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.901, allocations: 1.002 MB / 1.33 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.901, allocations: 4.281 kB / 1.33 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.9015, allocations: 440.2 kB / 1.331 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.9037, allocations: 0.5851 MB / 1.331 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/0.9116, allocations: 7.793 MB / 1.339 GB, free: 7.391 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.9121, allocations: 1.121 MB / 1.34 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007953/0.9129, allocations: 253.7 kB / 1.34 GB, free: 6.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000453/0.9134, allocations: 393.6 kB / 1.34 GB, free: 6.344 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/0.9134, allocations: 0 / 1.34 GB, free: 6.344 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/0.9569, allocations: 27.84 MB / 1.368 GB, free: 12.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/11, allocations: 0 / 1.368 GB, free: 12.41 MB / 1.029 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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