Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_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.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 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.001308/0.001308, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5951, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1566/0.7518, allocations: 173.8 MB / 1.187 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00352/0.7553, allocations: 2.304 MB / 1.189 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.756, allocations: 15.94 kB / 1.189 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.7568, allocations: 226.4 kB / 1.19 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.7591, allocations: 0.9332 MB / 1.191 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.7612, allocations: 0.8196 MB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.7624, allocations: 0.9623 MB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.7629, allocations: 335 kB / 1.193 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008177/0.7638, allocations: 454.3 kB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.7642, allocations: 314.6 kB / 1.193 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.7643, allocations: 36 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.766, allocations: 0.9859 MB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.7662, allocations: 147.6 kB / 1.194 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.7666, allocations: 242.8 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.7685, allocations: 0.8882 MB / 1.196 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7685, allocations: 0 / 1.196 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7685, allocations: 4 kB / 1.196 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.7685, allocations: 0 / 1.196 GB, free: 11.32 MB / 0.9512 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.001392/0.7699, allocations: 0.8035 MB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.77, allocations: 12.03 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.7701, allocations: 62.53 kB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.7713, allocations: 183.1 kB / 1.197 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.7719, allocations: 377.4 kB / 1.197 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.7719, allocations: 24.66 kB / 1.197 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.772, allocations: 28 kB / 1.197 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.7726, allocations: 373.1 kB / 1.197 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.7726, allocations: 0 / 1.197 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.7726, allocations: 16 kB / 1.197 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.7727, allocations: 11.94 kB / 1.197 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.7732, allocations: 266 kB / 1.198 GB, free: 9.066 MB / 0.9512 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.001693/0.7749, allocations: 1.675 MB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.7752, allocations: 214.4 kB / 1.199 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.7755, allocations: 112.8 kB / 1.2 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009702/0.7764, allocations: 0.8662 MB / 1.2 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.7765, allocations: 34.56 kB / 1.2 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.7765, allocations: 0 / 1.2 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008496/0.7773, allocations: 357.9 kB / 1.201 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.7774, allocations: 51.41 kB / 1.201 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.7778, allocations: 429.9 kB / 1.201 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.7778, allocations: 29.7 kB / 1.201 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.778, allocations: 212.2 kB / 1.202 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.778, allocations: 82.83 kB / 1.202 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.7781, allocations: 53.61 kB / 1.202 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7782, allocations: 354.7 kB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.7784, allocations: 83.94 kB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.7786, allocations: 121.5 kB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.779, allocations: 211.7 kB / 1.202 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.779, allocations: 3.938 kB / 1.202 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004932/0.7795, allocations: 277 kB / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7796, allocations: 8 kB / 1.203 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7796, allocations: 0 / 1.203 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7796, allocations: 4 kB / 1.203 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.7798, allocations: 55.91 kB / 1.203 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7798, allocations: 3.938 kB / 1.203 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.7801, allocations: 35.72 kB / 1.203 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.7801, allocations: 7.984 kB / 1.203 GB, free: 3.426 MB / 0.9512 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.0001524/0.7803, allocations: 161.8 kB / 1.203 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.7803, allocations: 43.44 kB / 1.203 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.7809, allocations: 287 kB / 1.203 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7809, allocations: 8.031 kB / 1.203 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7809, allocations: 7.938 kB / 1.203 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.781, allocations: 3.984 kB / 1.203 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.7821, allocations: 0.8011 MB / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.7822, allocations: 4 kB / 1.204 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.7824, allocations: 51.91 kB / 1.204 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7824, allocations: 0 / 1.204 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.7824, allocations: 4 kB / 1.204 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7824, allocations: 4 kB / 1.204 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7824, allocations: 3.938 kB / 1.204 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.7832, allocations: 0.5076 MB / 1.205 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.7833, allocations: 152.5 kB / 1.205 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.7834, allocations: 8 kB / 1.205 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.7837, allocations: 15.98 kB / 1.205 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.7837, allocations: 23.86 kB / 1.205 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.7838, allocations: 15.92 kB / 1.205 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003072/0.7841, allocations: 299.1 kB / 1.205 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7841, allocations: 0 / 1.205 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004563/0.7846, allocations: 123.8 kB / 1.205 GB, free: 0.7852 MB / 0.9512 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.001391/0.7859, allocations: 1.123 MB / 1.206 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.7865, allocations: 223.5 kB / 1.207 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7865, allocations: 0 / 1.207 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.7867, allocations: 113.8 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.7878, allocations: 238.4 kB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.7928, allocations: 3.733 MB / 1.21 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.7932, allocations: 0.8155 MB / 1.211 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003136/0.7936, allocations: 87.33 kB / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.7937, allocations: 139.4 kB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.7937, allocations: 0 / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.8278, allocations: 11.99 MB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/8.037, allocations: 11.38 kB / 1.223 GB, free: 14.35 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches