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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000764/0.000764, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8922/0.8922, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.639/1.639, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.716e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.627/0.627, allocations: 153.4 MB / 1.101 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.6293, allocations: 2.17 MB / 1.104 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.6295, allocations: 20.28 kB / 1.104 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.6301, allocations: 229.2 kB / 1.104 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.6317, allocations: 0.9743 MB / 1.105 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.6332, allocations: 0.8853 MB / 1.106 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009007/0.6341, allocations: 0.9776 MB / 1.107 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.6344, allocations: 272.9 kB / 1.107 GB, free: 36.15 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.635, allocations: 0.5797 MB / 1.107 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.6353, allocations: 277.9 kB / 1.108 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.6353, allocations: 32.78 kB / 1.108 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009603/0.6363, allocations: 0.8337 MB / 1.109 GB, free: 35.68 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.6364, allocations: 169 kB / 1.109 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.6366, allocations: 165.3 kB / 1.109 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009728/0.6375, allocations: 0.9193 MB / 1.11 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6375, allocations: 0 / 1.11 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6375, allocations: 1.312 kB / 1.11 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.6375, allocations: 0 / 1.11 GB, free: 35.3 MB / 0.9948 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.0008115/0.6384, allocations: 0.7388 MB / 1.11 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6384, allocations: 9.438 kB / 1.111 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006593/0.6391, allocations: 179.7 kB / 1.111 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.6395, allocations: 332.6 kB / 1.111 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.6395, allocations: 22.06 kB / 1.111 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.6396, allocations: 28.31 kB / 1.111 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.64, allocations: 426.2 kB / 1.111 GB, free: 34.22 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.64, allocations: 0.7031 kB / 1.111 GB, free: 34.22 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.6401, allocations: 11.88 kB / 1.111 GB, free: 34.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.6401, allocations: 15.08 kB / 1.111 GB, free: 34.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.6404, allocations: 265.3 kB / 1.112 GB, free: 34.13 MB / 0.9948 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.001052/0.6415, allocations: 1.234 MB / 1.113 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.6418, allocations: 199.7 kB / 1.113 GB, free: 33.12 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.6419, allocations: 114.1 kB / 1.113 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.6423, allocations: 131.1 kB / 1.113 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.6423, allocations: 32.78 kB / 1.113 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.6423, allocations: 0 / 1.113 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=23): time 0.0005614/0.6429, allocations: 358.9 kB / 1.114 GB, free: 32.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.6429, allocations: 54.23 kB / 1.114 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.6431, allocations: 321.9 kB / 1.114 GB, free: 32.67 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.6432, allocations: 26.8 kB / 1.114 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.6432, allocations: 220.2 kB / 1.114 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.6433, allocations: 90.12 kB / 1.114 GB, free: 32.39 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.6433, allocations: 50.27 kB / 1.114 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.6434, allocations: 341 kB / 1.115 GB, free: 32.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.6435, allocations: 79.3 kB / 1.115 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.6437, allocations: 178 kB / 1.115 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.6439, allocations: 210.4 kB / 1.115 GB, free: 31.78 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6439, allocations: 1.531 kB / 1.115 GB, free: 31.78 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003296/0.6443, allocations: 276.5 kB / 1.115 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6443, allocations: 5.281 kB / 1.115 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.6443, allocations: 1.562 kB / 1.115 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6443, allocations: 6.156 kB / 1.116 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.6444, allocations: 50.98 kB / 1.116 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6444, allocations: 6.469 kB / 1.116 GB, free: 31.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.6445, allocations: 21.38 kB / 1.116 GB, free: 31.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.6445, allocations: 10.39 kB / 1.116 GB, free: 31.64 MB / 0.9948 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.0001021/0.6446, allocations: 166.8 kB / 1.116 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.6447, allocations: 36.52 kB / 1.116 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.645, allocations: 282.6 kB / 1.116 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.645, allocations: 2.281 kB / 1.116 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6451, allocations: 0 / 1.116 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.6451, allocations: 2.141 kB / 1.116 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.6458, allocations: 0.704 MB / 1.117 GB, free: 30.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6458, allocations: 2.859 kB / 1.117 GB, free: 30.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.6459, allocations: 50.03 kB / 1.117 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6459, allocations: 2.281 kB / 1.117 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.646, allocations: 8.125 kB / 1.117 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.646, allocations: 2.891 kB / 1.117 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.646, allocations: 12.61 kB / 1.117 GB, free: 30.89 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.6464, allocations: 0.491 MB / 1.117 GB, free: 30.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.6465, allocations: 66.44 kB / 1.117 GB, free: 30.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.6466, allocations: 8.922 kB / 1.117 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6467, allocations: 15.11 kB / 1.117 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.6467, allocations: 19.78 kB / 1.117 GB, free: 30.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.6467, allocations: 11.69 kB / 1.117 GB, free: 30.54 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001661/0.6469, allocations: 230 kB / 1.118 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6469, allocations: 0 / 1.118 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003009/0.6472, allocations: 129.1 kB / 1.118 GB, free: 30.39 MB / 0.9948 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.0002465/0.6475, allocations: 176.6 kB / 1.118 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.6478, allocations: 203.8 kB / 1.118 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6478, allocations: 1.062 kB / 1.118 GB, free: 30.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6479, allocations: 108.1 kB / 1.118 GB, free: 30.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.6485, allocations: 164.8 kB / 1.118 GB, free: 30.15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.6494, allocations: 0.8342 MB / 1.119 GB, free: 29.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.6496, allocations: 231.6 kB / 1.119 GB, free: 29.51 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.6496, allocations: 31.33 kB / 1.119 GB, free: 29.5 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.6496, allocations: 1.531 kB / 1.119 GB, free: 29.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.007374/0.657, allocations: 5.974 MB / 1.125 GB, free: 28.88 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.923861041665077]