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.001784/0.001792, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002269/0.002269, allocations: 195.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.349/2.349, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 4.31/4.31, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.3427/1.411, allocations: 171.5 MB / 1.117 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007419/1.418, allocations: 2.291 MB / 1.119 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008305/1.419, allocations: 15.88 kB / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/1.421, allocations: 194.8 kB / 1.119 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004693/1.425, allocations: 0.8793 MB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/1.429, allocations: 0.7553 MB / 1.121 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002342/1.432, allocations: 0.974 MB / 1.122 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008668/1.433, allocations: 318.9 kB / 1.122 GB, free: 480 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/1.434, allocations: 454.3 kB / 1.122 GB, free: 24 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/1.435, allocations: 330.7 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/1.435, allocations: 39.94 kB / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/1.438, allocations: 1.032 MB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/1.438, allocations: 147.5 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006016/1.439, allocations: 234.9 kB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/1.442, allocations: 0.966 MB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.442, allocations: 0 / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.464e-06/1.442, allocations: 4 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.889e-05/1.442, allocations: 0 / 1.125 GB, free: 13.28 MB / 0.8887 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.002394/1.444, allocations: 0.8021 MB / 1.126 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/1.444, allocations: 12.03 kB / 1.126 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/1.444, allocations: 66.53 kB / 1.126 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/1.447, allocations: 179.2 kB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/1.448, allocations: 381.4 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/1.448, allocations: 24.66 kB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/1.448, allocations: 28 kB / 1.127 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.449, allocations: 373.1 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.449, allocations: 4 kB / 1.127 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/1.449, allocations: 16 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/1.449, allocations: 15.88 kB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/1.45, allocations: 258 kB / 1.127 GB, free: 11.02 MB / 0.8887 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.003254/1.453, allocations: 1.671 MB / 1.129 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/1.454, allocations: 210.3 kB / 1.129 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/1.454, allocations: 112.8 kB / 1.129 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/1.456, allocations: 0.8701 MB / 1.13 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/1.456, allocations: 38.55 kB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 3.987e-06/1.456, allocations: 0 / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.001548/1.458, allocations: 350.2 kB / 1.13 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/1.458, allocations: 63.33 kB / 1.13 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/1.458, allocations: 418 kB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/1.459, allocations: 29.7 kB / 1.131 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/1.459, allocations: 216.2 kB / 1.131 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.459, allocations: 82.84 kB / 1.131 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.459, allocations: 53.61 kB / 1.131 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.459, allocations: 358.7 kB / 1.132 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/1.46, allocations: 79.89 kB / 1.132 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/1.46, allocations: 125 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/1.461, allocations: 208.8 kB / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.461, allocations: 0 / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009635/1.462, allocations: 278.3 kB / 1.132 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/1.462, allocations: 10.03 kB / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.462, allocations: 0 / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.462, allocations: 0 / 1.132 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/1.462, allocations: 55.91 kB / 1.132 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/1.462, allocations: 7.938 kB / 1.132 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/1.463, allocations: 39.7 kB / 1.132 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/1.463, allocations: 8.109 kB / 1.132 GB, free: 5.375 MB / 0.8887 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.0002685/1.463, allocations: 169.7 kB / 1.132 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/1.463, allocations: 43.44 kB / 1.132 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.464, allocations: 303 kB / 1.133 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.464, allocations: 0 / 1.133 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.464, allocations: 7.938 kB / 1.133 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.464, allocations: 0 / 1.133 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/1.467, allocations: 0.8035 MB / 1.134 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.467, allocations: 4 kB / 1.134 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/1.467, allocations: 47.97 kB / 1.134 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.467, allocations: 0 / 1.134 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/1.467, allocations: 4 kB / 1.134 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/1.467, allocations: 7.938 kB / 1.134 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.467, allocations: 192 / 1.134 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/1.469, allocations: 0.512 MB / 1.134 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.469, allocations: 148.5 kB / 1.134 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.469, allocations: 11.94 kB / 1.134 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/1.47, allocations: 19.98 kB / 1.134 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/1.47, allocations: 19.97 kB / 1.134 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/1.47, allocations: 15.94 kB / 1.134 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006426/1.471, allocations: 299.1 kB / 1.135 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.01e-07/1.471, allocations: 0 / 1.135 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009076/1.471, allocations: 115.8 kB / 1.135 GB, free: 2.727 MB / 0.8887 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.00248/1.474, allocations: 1.135 MB / 1.136 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009364/1.475, allocations: 228.9 kB / 1.136 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.475, allocations: 0 / 1.136 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003888/1.475, allocations: 111.8 kB / 1.136 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.477, allocations: 230.9 kB / 1.136 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/1.485, allocations: 3.84 MB / 1.14 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/1.485, allocations: 0.8272 MB / 1.141 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003613/1.485, allocations: 83.33 kB / 1.141 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/1.486, allocations: 143.4 kB / 1.141 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of SimCode: time 1.994e-06/1.486, allocations: 0 / 1.141 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/1.522, allocations: 11.82 MB / 1.153 GB, free: 400 kB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/1.522, allocations: 240.3 kB / 1.153 GB, free: 132 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.859/5.381, allocations: 0 / 1.153 GB, free: 132 kB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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