Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_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.006844/0.006844, allocations: 101.2 kB / 15.73 MB, free: 6.02 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.001928/0.001928, allocations: 194.9 kB / 16.67 MB, free: 5.93 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.11 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6656, allocations: 159.1 MB / 1.22 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1887/0.8543, allocations: 173.8 MB / 1.39 GB, free: 3.609 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.8581, allocations: 2.295 MB / 1.392 GB, free: 1.309 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.8583, allocations: 19.88 kB / 1.392 GB, free: 1.289 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006549/0.859, allocations: 238.4 kB / 1.392 GB, free: 1.055 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.8609, allocations: 0.9279 MB / 1.393 GB, free: 128 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.8627, allocations: 0.8167 MB / 1.394 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.8639, allocations: 0.9701 MB / 1.395 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004949/0.8644, allocations: 331.4 kB / 1.395 GB, free: 14 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006998/0.8651, allocations: 450.4 kB / 1.396 GB, free: 13.56 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.8656, allocations: 314.7 kB / 1.396 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.8656, allocations: 36 kB / 1.396 GB, free: 13.22 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.8673, allocations: 0.9937 MB / 1.397 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.8675, allocations: 151.5 kB / 1.397 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.8677, allocations: 230.9 kB / 1.397 GB, free: 11.85 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.869, allocations: 0.9147 MB / 1.398 GB, free: 10.93 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.869, allocations: 0 / 1.398 GB, free: 10.93 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.192e-06/0.869, allocations: 0 / 1.398 GB, free: 10.93 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.8691, allocations: 0 / 1.398 GB, free: 10.93 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001255/0.8703, allocations: 0.8246 MB / 1.399 GB, free: 10.06 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.8704, allocations: 8.031 kB / 1.399 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.961e-05/0.8704, allocations: 70.53 kB / 1.399 GB, free: 9.973 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.8717, allocations: 183.4 kB / 1.399 GB, free: 9.793 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.8723, allocations: 389.7 kB / 1.4 GB, free: 9.375 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.8723, allocations: 20.66 kB / 1.4 GB, free: 9.355 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.8724, allocations: 39.98 kB / 1.4 GB, free: 9.316 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.8731, allocations: 365.1 kB / 1.4 GB, free: 8.93 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.8731, allocations: 0 / 1.4 GB, free: 8.93 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.8731, allocations: 15.94 kB / 1.4 GB, free: 8.914 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.8732, allocations: 19.94 kB / 1.4 GB, free: 8.895 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.8737, allocations: 262 kB / 1.4 GB, free: 8.641 MB / 1.123 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.001943/0.8757, allocations: 1.676 MB / 1.402 GB, free: 6.828 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.8761, allocations: 206.6 kB / 1.402 GB, free: 6.617 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.8763, allocations: 116.7 kB / 1.402 GB, free: 6.5 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.8774, allocations: 0.8701 MB / 1.403 GB, free: 5.445 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.8775, allocations: 38.42 kB / 1.403 GB, free: 5.398 MB / 1.123 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.8775, allocations: 4 kB / 1.403 GB, free: 5.395 MB / 1.123 GB Notification: Performance of matching and sorting (n=23): time 0.0009165/0.8784, allocations: 356 kB / 1.404 GB, free: 5.043 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.8784, allocations: 55.41 kB / 1.404 GB, free: 4.977 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.8789, allocations: 421.8 kB / 1.404 GB, free: 4.555 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.879, allocations: 33.7 kB / 1.404 GB, free: 4.516 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.8792, allocations: 212.5 kB / 1.404 GB, free: 4.305 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.8792, allocations: 91.22 kB / 1.404 GB, free: 4.215 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.8793, allocations: 49.69 kB / 1.404 GB, free: 4.16 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8795, allocations: 358.7 kB / 1.405 GB, free: 3.801 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.8797, allocations: 75.95 kB / 1.405 GB, free: 3.727 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.88, allocations: 119.4 kB / 1.405 GB, free: 3.598 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.8804, allocations: 220.9 kB / 1.405 GB, free: 3.371 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8804, allocations: 0 / 1.405 GB, free: 3.371 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005616/0.881, allocations: 281.2 kB / 1.405 GB, free: 3.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.881, allocations: 4 kB / 1.405 GB, free: 3.086 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.881, allocations: 4 kB / 1.405 GB, free: 3.082 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.881, allocations: 0 / 1.405 GB, free: 3.082 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.8813, allocations: 51.91 kB / 1.406 GB, free: 3.031 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8813, allocations: 11.97 kB / 1.406 GB, free: 3.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.8815, allocations: 31.77 kB / 1.406 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.8816, allocations: 12 kB / 1.406 GB, free: 2.977 MB / 1.123 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.0001722/0.8817, allocations: 161.8 kB / 1.406 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.8818, allocations: 47.7 kB / 1.406 GB, free: 2.762 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.8824, allocations: 283.5 kB / 1.406 GB, free: 2.48 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.8825, allocations: 8 kB / 1.406 GB, free: 2.473 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.8825, allocations: 7.938 kB / 1.406 GB, free: 2.465 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.8825, allocations: 3.984 kB / 1.406 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.8838, allocations: 0.8017 MB / 1.407 GB, free: 1.586 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.8838, allocations: 0 / 1.407 GB, free: 1.586 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.884, allocations: 47.91 kB / 1.407 GB, free: 1.539 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.884, allocations: 4 kB / 1.407 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.884, allocations: 8 kB / 1.407 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.8841, allocations: 0 / 1.407 GB, free: 1.527 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8841, allocations: 11.88 kB / 1.407 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.8849, allocations: 0.5052 MB / 1.407 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.8851, allocations: 152.8 kB / 1.408 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.8851, allocations: 4 kB / 1.408 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.8854, allocations: 15.98 kB / 1.408 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.8855, allocations: 31.75 kB / 1.408 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.8855, allocations: 8 kB / 1.408 GB, free: 0.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003368/0.8859, allocations: 299.1 kB / 1.408 GB, free: 468 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8859, allocations: 4 kB / 1.408 GB, free: 464 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.000417/0.8863, allocations: 119.8 kB / 1.408 GB, free: 344 kB / 1.123 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.00145/0.8877, allocations: 1.147 MB / 1.409 GB, free: 15.16 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.8883, allocations: 213.4 kB / 1.409 GB, free: 14.95 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8883, allocations: 0 / 1.409 GB, free: 14.95 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.8885, allocations: 108.3 kB / 1.409 GB, free: 14.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.8896, allocations: 225.8 kB / 1.41 GB, free: 14.62 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.8946, allocations: 3.694 MB / 1.413 GB, free: 10.8 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.8951, allocations: 0.8233 MB / 1.414 GB, free: 9.945 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.8954, allocations: 87.33 kB / 1.414 GB, free: 9.859 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.8956, allocations: 139.4 kB / 1.414 GB, free: 9.723 MB / 1.139 GB Notification: Performance of SimCode: time 2.91e-07/0.8956, allocations: 0 / 1.414 GB, free: 9.723 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.9476, allocations: 12.09 MB / 1.426 GB, free: 13.85 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/9.236, allocations: 20.34 kB / 1.426 GB, free: 13.84 MB / 1.154 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches