Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.007191/0.007191, allocations: 101 kB / 15.73 MB, free: 6.473 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: 194.8 kB / 16.67 MB, free: 6.379 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.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.249/2.249, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.47 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2363, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7519/0.9882, allocations: 202 MB / 1.285 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009905/0.9981, allocations: 7.399 MB / 1.292 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/1, allocations: 38.69 kB / 1.292 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/1.002, allocations: 0.6942 MB / 1.293 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007088/1.009, allocations: 2.411 MB / 1.295 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/1.013, allocations: 1.233 MB / 1.296 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004103/1.017, allocations: 2.911 MB / 1.299 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/1.018, allocations: 0.9495 MB / 1.3 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/1.02, allocations: 1.016 MB / 1.301 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/1.022, allocations: 0.9614 MB / 1.302 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/1.022, allocations: 109.9 kB / 1.302 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/1.027, allocations: 2.137 MB / 1.304 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005529/1.027, allocations: 448.1 kB / 1.304 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009213/1.028, allocations: 0.67 MB / 1.305 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/1.032, allocations: 2.4 MB / 1.307 GB, free: 2.473 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.032, allocations: 1.312 kB / 1.307 GB, free: 2.473 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/1.032, allocations: 0.8125 kB / 1.308 GB, free: 2.473 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.077e-05/1.032, allocations: 0 / 1.308 GB, free: 2.473 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003091/1.036, allocations: 1.622 MB / 1.309 GB, free: 1.645 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.036, allocations: 10.66 kB / 1.309 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/1.036, allocations: 136.1 kB / 1.309 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/1.038, allocations: 379 kB / 1.31 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.04, allocations: 0.8475 MB / 1.31 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/1.04, allocations: 63.45 kB / 1.31 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.04, allocations: 83.72 kB / 1.311 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/1.041, allocations: 1.046 MB / 1.312 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/1.041, allocations: 5.047 kB / 1.312 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/1.041, allocations: 43.69 kB / 1.312 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/1.041, allocations: 44.52 kB / 1.312 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/1.043, allocations: 0.8845 MB / 1.313 GB, free: 1.059 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.004584/1.047, allocations: 4.287 MB / 1.317 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.049, allocations: 0.6889 MB / 1.317 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/1.049, allocations: 469.3 kB / 1.318 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/1.05, allocations: 0.6791 MB / 1.318 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.05, allocations: 42.34 kB / 1.319 GB, free: 13.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/1.05, allocations: 0.9062 kB / 1.319 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=70): time 0.00183/1.052, allocations: 0.9953 MB / 1.32 GB, free: 13.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/1.052, allocations: 60.06 kB / 1.32 GB, free: 13.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/1.052, allocations: 0.6398 MB / 1.32 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/1.053, allocations: 41.33 kB / 1.32 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/1.053, allocations: 429 kB / 1.321 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/1.053, allocations: 256.9 kB / 1.321 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/1.053, allocations: 117.8 kB / 1.321 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.053, allocations: 389.9 kB / 1.321 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/1.054, allocations: 276.5 kB / 1.322 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/1.054, allocations: 357.9 kB / 1.322 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.056, allocations: 0.6587 MB / 1.323 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.056, allocations: 1.969 kB / 1.323 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001338/1.057, allocations: 0.7977 MB / 1.323 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.057, allocations: 8.719 kB / 1.323 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.057, allocations: 2.469 kB / 1.323 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.057, allocations: 4.094 kB / 1.323 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/1.058, allocations: 143.1 kB / 1.324 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.058, allocations: 7.609 kB / 1.324 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/1.059, allocations: 52.09 kB / 1.324 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/1.059, allocations: 26.72 kB / 1.324 GB, free: 12.51 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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 prepare postOptimizeDAE: time 0.0004397/1.059, allocations: 287.2 kB / 1.324 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/1.059, allocations: 91.55 kB / 1.324 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/1.06, allocations: 0.7979 MB / 1.325 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/1.061, allocations: 6.875 kB / 1.325 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.061, allocations: 0.75 kB / 1.325 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001044/1.062, allocations: 0.8151 MB / 1.326 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/1.064, allocations: 1.861 MB / 1.327 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.064, allocations: 3.938 kB / 1.327 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/1.065, allocations: 163.2 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/1.065, allocations: 2.656 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/1.065, allocations: 18.78 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/1.065, allocations: 6.594 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.065, allocations: 0.7812 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.067, allocations: 1.196 MB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/1.067, allocations: 244.5 kB / 1.329 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/1.068, allocations: 17.69 kB / 1.329 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007223/1.068, allocations: 21.44 kB / 1.329 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.068, allocations: 43.73 kB / 1.329 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/1.068, allocations: 25.97 kB / 1.329 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005297/1.069, allocations: 457.3 kB / 1.33 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.069, allocations: 0 / 1.33 GB, free: 11.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009275/1.07, allocations: 338.2 kB / 1.33 GB, free: 11.2 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.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 (70): * Single equations (assignments): 70 * 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.002123/1.072, allocations: 1.846 MB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.073, allocations: 0.6776 MB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.073, allocations: 0.8125 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004588/1.074, allocations: 371.8 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.076, allocations: 0.5426 MB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/1.086, allocations: 6.924 MB / 1.34 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/1.087, allocations: 1.094 MB / 1.341 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009323/1.088, allocations: 228.1 kB / 1.341 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005424/1.088, allocations: 357.6 kB / 1.342 GB, free: 5.711 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/1.088, allocations: 2.469 kB / 1.342 GB, free: 5.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/1.137, allocations: 25.29 MB / 1.366 GB, free: 13.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.296/10.43, allocations: 9.938 kB / 1.366 GB, free: 13.84 MB / 1.045 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches