Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001396/0.001396, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001716/0.001716, allocations: 217.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.402/3.402, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 68.83 kB / 1.155 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4754, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2434/0.7187, allocations: 177.6 MB / 1.501 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00473/0.7235, allocations: 2.32 MB / 1.503 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.724, allocations: 19.88 kB / 1.503 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008908/0.7249, allocations: 246.3 kB / 1.503 GB, free: 12.64 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.7275, allocations: 0.9801 MB / 1.504 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.73, allocations: 0.8566 MB / 1.505 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.7316, allocations: 0.9741 MB / 1.506 GB, free: 9.828 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.7321, allocations: 263.4 kB / 1.506 GB, free: 9.566 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.7335, allocations: 0.6228 MB / 1.507 GB, free: 8.941 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.734, allocations: 322.7 kB / 1.507 GB, free: 8.625 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.734, allocations: 32 kB / 1.507 GB, free: 8.594 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.7362, allocations: 1.06 MB / 1.508 GB, free: 7.531 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.7364, allocations: 155.5 kB / 1.508 GB, free: 7.379 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.7367, allocations: 242.8 kB / 1.508 GB, free: 7.141 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.7383, allocations: 0.9072 MB / 1.509 GB, free: 6.23 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7383, allocations: 0 / 1.509 GB, free: 6.23 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7383, allocations: 3.938 kB / 1.509 GB, free: 6.227 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.7383, allocations: 0 / 1.509 GB, free: 6.227 MB / 1.201 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.001444/0.7397, allocations: 0.7417 MB / 1.51 GB, free: 5.453 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7398, allocations: 8.031 kB / 1.51 GB, free: 5.445 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.741, allocations: 179.4 kB / 1.51 GB, free: 5.27 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.7417, allocations: 339.8 kB / 1.511 GB, free: 4.91 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.7418, allocations: 24.59 kB / 1.511 GB, free: 4.887 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.7418, allocations: 28 kB / 1.511 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.7425, allocations: 377 kB / 1.511 GB, free: 4.465 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.7425, allocations: 0 / 1.511 GB, free: 4.465 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.7426, allocations: 15.98 kB / 1.511 GB, free: 4.449 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.7426, allocations: 19.92 kB / 1.511 GB, free: 4.43 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.7431, allocations: 253.8 kB / 1.511 GB, free: 4.184 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.7452, allocations: 1.629 MB / 1.513 GB, free: 2.422 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.7456, allocations: 198.5 kB / 1.513 GB, free: 2.219 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.7458, allocations: 108.8 kB / 1.513 GB, free: 2.109 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.7465, allocations: 127.9 kB / 1.513 GB, free: 1.984 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.7465, allocations: 34.42 kB / 1.513 GB, free: 1.941 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.7466, allocations: 0 / 1.513 GB, free: 1.941 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.000914/0.7475, allocations: 360 kB / 1.514 GB, free: 1.586 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.7475, allocations: 55.41 kB / 1.514 GB, free: 1.52 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.748, allocations: 425.9 kB / 1.514 GB, free: 1.094 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.7481, allocations: 29.7 kB / 1.514 GB, free: 1.059 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.7483, allocations: 216.4 kB / 1.514 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.7483, allocations: 87.17 kB / 1.514 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.7484, allocations: 53.69 kB / 1.514 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.7486, allocations: 354.7 kB / 1.515 GB, free: 352 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.7488, allocations: 75.95 kB / 1.515 GB, free: 276 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.749, allocations: 128.1 kB / 1.515 GB, free: 136 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.7494, allocations: 205.2 kB / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.7494, allocations: 4 kB / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005199/0.75, allocations: 282.9 kB / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.75, allocations: 4 kB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.75, allocations: 208 / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.75, allocations: 11.92 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.7502, allocations: 55.91 kB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7503, allocations: 3.938 kB / 1.515 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.7505, allocations: 35.77 kB / 1.516 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.7505, allocations: 8 kB / 1.516 GB, free: 15.52 MB / 1.217 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.0001839/0.7507, allocations: 165.8 kB / 1.516 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.7507, allocations: 51.7 kB / 1.516 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/0.7513, allocations: 283.3 kB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7513, allocations: 4 kB / 1.516 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.7513, allocations: 3.938 kB / 1.516 GB, free: 15.01 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7514, allocations: 3.984 kB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.7526, allocations: 0.7852 MB / 1.517 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7526, allocations: 0 / 1.517 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.7529, allocations: 52.11 kB / 1.517 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.7529, allocations: 4 kB / 1.517 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7529, allocations: 8 kB / 1.517 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.7529, allocations: 3.984 kB / 1.517 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7529, allocations: 7.938 kB / 1.517 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.7537, allocations: 0.4962 MB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.7539, allocations: 75.66 kB / 1.517 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.7539, allocations: 0 / 1.517 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.7542, allocations: 19.98 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.7542, allocations: 23.91 kB / 1.517 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.7543, allocations: 11.94 kB / 1.517 GB, free: 13.42 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003471/0.7546, allocations: 303.1 kB / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7546, allocations: 0 / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004482/0.7551, allocations: 119.8 kB / 1.518 GB, free: 13.01 MB / 1.217 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.0003478/0.7554, allocations: 177.6 kB / 1.518 GB, free: 12.83 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.7559, allocations: 199.7 kB / 1.518 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7559, allocations: 0 / 1.518 GB, free: 12.63 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.7561, allocations: 111.9 kB / 1.518 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.7572, allocations: 222.3 kB / 1.519 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.759, allocations: 0.9634 MB / 1.519 GB, free: 11.29 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.7595, allocations: 0.8194 MB / 1.52 GB, free: 10.45 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.7596, allocations: 35.44 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of SimCode: time 5.31e-07/0.7596, allocations: 4 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of Templates: time 0.01117/0.7707, allocations: 6.655 MB / 1.527 GB, free: 3.82 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.945981591998134]