Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",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.007569/0.007569, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001786/0.001786, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.182/2.182, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.91 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6639, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1835/0.8475, allocations: 173.8 MB / 1.257 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.8512, allocations: 2.304 MB / 1.259 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.8517, allocations: 15.88 kB / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.8524, allocations: 234.4 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.8545, allocations: 0.9372 MB / 1.261 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.8564, allocations: 0.8251 MB / 1.261 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.8575, allocations: 0.9585 MB / 1.262 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.858, allocations: 335.4 kB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/0.8588, allocations: 458.3 kB / 1.263 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.8592, allocations: 310.7 kB / 1.263 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.8592, allocations: 36 kB / 1.263 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.8611, allocations: 0.9859 MB / 1.264 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.8613, allocations: 151.5 kB / 1.265 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.8617, allocations: 242.8 kB / 1.265 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.8631, allocations: 0.8998 MB / 1.266 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8632, allocations: 0 / 1.266 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8632, allocations: 4 kB / 1.266 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.8632, allocations: 0 / 1.266 GB, free: 7.27 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001238/0.8644, allocations: 0.806 MB / 1.266 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8645, allocations: 12.02 kB / 1.266 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.225e-05/0.8646, allocations: 66.55 kB / 1.266 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.8658, allocations: 183.1 kB / 1.267 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.8665, allocations: 393.4 kB / 1.267 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.8665, allocations: 20.66 kB / 1.267 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.8666, allocations: 28 kB / 1.267 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.8672, allocations: 377.1 kB / 1.267 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8672, allocations: 3.906 kB / 1.267 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.8673, allocations: 19.92 kB / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.8673, allocations: 12 kB / 1.267 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.8678, allocations: 262 kB / 1.268 GB, free: 4.992 MB / 0.9981 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.001732/0.8695, allocations: 1.656 MB / 1.269 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.8699, allocations: 212.1 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.8702, allocations: 112.8 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009586/0.8711, allocations: 0.8738 MB / 1.271 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.8712, allocations: 34.56 kB / 1.271 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.8712, allocations: 0 / 1.271 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0008804/0.8721, allocations: 355.4 kB / 1.271 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.8721, allocations: 55.41 kB / 1.271 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.8725, allocations: 429.8 kB / 1.271 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.8726, allocations: 29.7 kB / 1.271 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.8727, allocations: 216.3 kB / 1.272 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.8728, allocations: 78.77 kB / 1.272 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.8729, allocations: 49.81 kB / 1.272 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.873, allocations: 362.7 kB / 1.272 GB, free: 184 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.8732, allocations: 75.95 kB / 1.272 GB, free: 108 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.8734, allocations: 131.3 kB / 1.272 GB, free: 15.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.8738, allocations: 207 kB / 1.272 GB, free: 15.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8738, allocations: 4 kB / 1.272 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005059/0.8743, allocations: 284.9 kB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8743, allocations: 8.062 kB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8744, allocations: 0 / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8744, allocations: 4 kB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.8746, allocations: 55.91 kB / 1.273 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8746, allocations: 3.938 kB / 1.273 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.8749, allocations: 35.67 kB / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.8749, allocations: 11.94 kB / 1.273 GB, free: 15.35 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001525/0.875, allocations: 162.3 kB / 1.273 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.8751, allocations: 43.53 kB / 1.273 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.8757, allocations: 277.2 kB / 1.273 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.8757, allocations: 7.938 kB / 1.273 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8757, allocations: 3.938 kB / 1.273 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8757, allocations: 3.984 kB / 1.273 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.8769, allocations: 0.8113 MB / 1.274 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8769, allocations: 0 / 1.274 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.8772, allocations: 47.92 kB / 1.274 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.8772, allocations: 4 kB / 1.274 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.8772, allocations: 16.17 kB / 1.274 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.8772, allocations: 0 / 1.274 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8772, allocations: 7.938 kB / 1.274 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.878, allocations: 0.4977 MB / 1.275 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.8781, allocations: 144.6 kB / 1.275 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.8782, allocations: 4 kB / 1.275 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.8785, allocations: 19.98 kB / 1.275 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.8785, allocations: 31.84 kB / 1.275 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.8786, allocations: 8 kB / 1.275 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002985/0.8789, allocations: 303.1 kB / 1.275 GB, free: 12.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8789, allocations: 0 / 1.275 GB, free: 12.83 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004456/0.8793, allocations: 119.8 kB / 1.275 GB, free: 12.71 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001282/0.8806, allocations: 1.134 MB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.8811, allocations: 209.5 kB / 1.277 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8811, allocations: 4.062 kB / 1.277 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.8814, allocations: 115.8 kB / 1.277 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.8825, allocations: 217.5 kB / 1.277 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.887, allocations: 3.691 MB / 1.281 GB, free: 7.184 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.8874, allocations: 0.8272 MB / 1.281 GB, free: 6.328 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.8877, allocations: 87.34 kB / 1.281 GB, free: 6.242 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.8878, allocations: 131.4 kB / 1.282 GB, free: 6.113 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.8879, allocations: 0 / 1.282 GB, free: 6.113 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.9207, allocations: 12.1 MB / 1.293 GB, free: 10.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.855, allocations: 3.984 kB / 1.293 GB, free: 10.23 MB / 1.029 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_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_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches