Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 100.1 kB / 15.88 MB, free: 12 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.001403/0.001403, allocations: 196 kB / 16.79 MB, free: 6.809 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 69.06 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3966, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2027/0.5995, allocations: 171.6 MB / 1.22 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.6035, allocations: 2.314 MB / 1.223 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.6039, allocations: 11.94 kB / 1.223 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007496/0.6047, allocations: 194.8 kB / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.6069, allocations: 0.8675 MB / 1.224 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.6089, allocations: 0.7496 MB / 1.224 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.6104, allocations: 1.348 MB / 1.226 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.6108, allocations: 282.3 kB / 1.226 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.6115, allocations: 418.3 kB / 1.226 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.612, allocations: 326.6 kB / 1.227 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.6121, allocations: 20 kB / 1.227 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.6141, allocations: 1.169 MB / 1.228 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.6143, allocations: 139.5 kB / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.6146, allocations: 222.8 kB / 1.228 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.6156, allocations: 0.6354 MB / 1.229 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6156, allocations: 0 / 1.229 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6156, allocations: 3.938 kB / 1.229 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.6156, allocations: 0 / 1.229 GB, free: 3.445 MB / 0.9825 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.001656/0.6173, allocations: 0.8023 MB / 1.23 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6173, allocations: 11.97 kB / 1.23 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.6186, allocations: 179.1 kB / 1.23 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.6191, allocations: 373.4 kB / 1.23 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.6192, allocations: 24.59 kB / 1.23 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.6192, allocations: 36 kB / 1.23 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.6198, allocations: 373.1 kB / 1.23 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6199, allocations: 0 / 1.23 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.6199, allocations: 19.98 kB / 1.231 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.6199, allocations: 15.94 kB / 1.231 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.6204, allocations: 266 kB / 1.231 GB, free: 1.254 MB / 0.9825 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.001755/0.6222, allocations: 1.671 MB / 1.232 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.6226, allocations: 202.5 kB / 1.233 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.6228, allocations: 116.8 kB / 1.233 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.6238, allocations: 0.874 MB / 1.234 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6239, allocations: 34.56 kB / 1.234 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.253e-06/0.6239, allocations: 0 / 1.234 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009108/0.6248, allocations: 359.4 kB / 1.234 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.6249, allocations: 51.41 kB / 1.234 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.6254, allocations: 426 kB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.6254, allocations: 29.7 kB / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6256, allocations: 220.2 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.6257, allocations: 78.75 kB / 1.235 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.6258, allocations: 49.7 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6259, allocations: 354.7 kB / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.6261, allocations: 79.94 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.6263, allocations: 127.4 kB / 1.235 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.6267, allocations: 204.6 kB / 1.235 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6267, allocations: 0 / 1.235 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005519/0.6273, allocations: 291.1 kB / 1.236 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6273, allocations: 7.938 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6273, allocations: 112 / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6274, allocations: 7.938 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.6276, allocations: 47.97 kB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.6276, allocations: 0 / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.6279, allocations: 51.55 kB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.628, allocations: 11.94 kB / 1.236 GB, free: 11.6 MB / 0.9981 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.0001805/0.6281, allocations: 157.8 kB / 1.236 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.6282, allocations: 39.53 kB / 1.236 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.6288, allocations: 292 kB / 1.236 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6288, allocations: 4 kB / 1.236 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6288, allocations: 4 kB / 1.236 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6289, allocations: 7.922 kB / 1.236 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.6301, allocations: 0.8164 MB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6301, allocations: 3.938 kB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.6304, allocations: 43.92 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6304, allocations: 4 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6304, allocations: 12.08 kB / 1.237 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.6304, allocations: 0 / 1.237 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6304, allocations: 4 kB / 1.237 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.6312, allocations: 0.5 MB / 1.238 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.6314, allocations: 152.5 kB / 1.238 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.6315, allocations: 4 kB / 1.238 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.6318, allocations: 27.97 kB / 1.238 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.6318, allocations: 15.98 kB / 1.238 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.6319, allocations: 11.98 kB / 1.238 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003256/0.6322, allocations: 311.1 kB / 1.238 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6322, allocations: 0 / 1.238 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004803/0.6327, allocations: 111.8 kB / 1.238 GB, free: 8.957 MB / 0.9981 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.0004914/0.6332, allocations: 180.5 kB / 1.239 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.6337, allocations: 199.8 kB / 1.239 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.6337, allocations: 4 kB / 1.239 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.634, allocations: 118 kB / 1.239 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6351, allocations: 213.5 kB / 1.239 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.637, allocations: 1.07 MB / 1.24 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.6374, allocations: 0.8314 MB / 1.241 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.6375, allocations: 35.42 kB / 1.241 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.6375, allocations: 4 kB / 1.241 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of Templates: time 0.6242/1.262, allocations: 6.58 MB / 1.247 GB, free: 194.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches