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.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.001587/0.001587, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00189/0.00189, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.559/3.559, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002146/0.002146, allocations: 64.52 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4513, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2608/0.7122, allocations: 153.5 MB / 1.514 GB, free: 3.512 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00455/0.7167, allocations: 2.293 MB / 1.516 GB, free: 1.215 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004006/0.7171, allocations: 15.88 kB / 1.516 GB, free: 1.199 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.7179, allocations: 234.3 kB / 1.516 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.7207, allocations: 0.984 MB / 1.517 GB, free: 15.98 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.723, allocations: 0.8392 MB / 1.518 GB, free: 15.14 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.7245, allocations: 0.9894 MB / 1.519 GB, free: 14.15 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.725, allocations: 263.5 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.7264, allocations: 0.6267 MB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.7268, allocations: 314.6 kB / 1.52 GB, free: 12.95 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.7269, allocations: 32 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.729, allocations: 0.8531 MB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.7292, allocations: 155.5 kB / 1.521 GB, free: 11.91 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.7295, allocations: 195.1 kB / 1.521 GB, free: 11.72 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.7311, allocations: 0.9226 MB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7311, allocations: 0 / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7311, allocations: 4 kB / 1.522 GB, free: 10.79 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.7311, allocations: 0 / 1.522 GB, free: 10.79 MB / 1.217 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.001451/0.7325, allocations: 0.7493 MB / 1.523 GB, free: 10.01 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7326, allocations: 12.03 kB / 1.523 GB, free: 10 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.7342, allocations: 227.4 kB / 1.523 GB, free: 9.777 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.735, allocations: 335.9 kB / 1.524 GB, free: 9.426 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.735, allocations: 28.59 kB / 1.524 GB, free: 9.398 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.7351, allocations: 35.94 kB / 1.524 GB, free: 9.363 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.736, allocations: 452.4 kB / 1.524 GB, free: 8.883 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.736, allocations: 3.938 kB / 1.524 GB, free: 8.879 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.736, allocations: 20 kB / 1.524 GB, free: 8.859 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.7361, allocations: 11.94 kB / 1.524 GB, free: 8.848 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.7369, allocations: 305.7 kB / 1.524 GB, free: 8.547 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.739, allocations: 1.293 MB / 1.526 GB, free: 7.199 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.7398, allocations: 258.3 kB / 1.526 GB, free: 6.938 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.7401, allocations: 136.8 kB / 1.526 GB, free: 6.801 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.7406, allocations: 72.03 kB / 1.526 GB, free: 6.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.7406, allocations: 42.42 kB / 1.526 GB, free: 6.68 MB / 1.217 GB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.7406, allocations: 4 kB / 1.526 GB, free: 6.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=23): time 0.001306/0.7419, allocations: 422.9 kB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.742, allocations: 55.41 kB / 1.527 GB, free: 6.191 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.7424, allocations: 321.7 kB / 1.527 GB, free: 5.867 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.7425, allocations: 33.7 kB / 1.527 GB, free: 5.828 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.7427, allocations: 220.5 kB / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.7428, allocations: 95.2 kB / 1.527 GB, free: 5.516 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.7429, allocations: 53.69 kB / 1.527 GB, free: 5.457 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.7431, allocations: 342.8 kB / 1.528 GB, free: 5.113 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.7434, allocations: 99.92 kB / 1.528 GB, free: 5.016 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.7438, allocations: 210.7 kB / 1.528 GB, free: 4.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.7445, allocations: 253.4 kB / 1.528 GB, free: 4.527 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7445, allocations: 3.938 kB / 1.528 GB, free: 4.523 MB / 1.217 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007949/0.7452, allocations: 321.2 kB / 1.528 GB, free: 4.203 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.7453, allocations: 12.03 kB / 1.528 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7453, allocations: 0 / 1.528 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.7453, allocations: 0 / 1.528 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.7457, allocations: 63.89 kB / 1.528 GB, free: 4.129 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.7457, allocations: 4 kB / 1.528 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.7459, allocations: 35.75 kB / 1.529 GB, free: 4.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.746, allocations: 11.98 kB / 1.529 GB, free: 4.078 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.0002299/0.7462, allocations: 158.4 kB / 1.529 GB, free: 3.914 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.7463, allocations: 43.77 kB / 1.529 GB, free: 3.871 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008473/0.7471, allocations: 326 kB / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7471, allocations: 0 / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7471, allocations: 0 / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.7471, allocations: 7.938 kB / 1.529 GB, free: 3.539 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.7488, allocations: 0.778 MB / 1.53 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7488, allocations: 3.984 kB / 1.53 GB, free: 2.703 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.7491, allocations: 51.91 kB / 1.53 GB, free: 2.652 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.7491, allocations: 8.125 kB / 1.53 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.7492, allocations: 15.98 kB / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7492, allocations: 0 / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7492, allocations: 4 kB / 1.53 GB, free: 2.625 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.7504, allocations: 0.5842 MB / 1.53 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.7506, allocations: 83.72 kB / 1.531 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.7507, allocations: 4 kB / 1.531 GB, free: 1.922 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.751, allocations: 23.97 kB / 1.531 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.7511, allocations: 19.97 kB / 1.531 GB, free: 1.879 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.7511, allocations: 7.938 kB / 1.531 GB, free: 1.871 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002931/0.7514, allocations: 231.2 kB / 1.531 GB, free: 1.648 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7514, allocations: 4 kB / 1.531 GB, free: 1.645 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005884/0.752, allocations: 119.8 kB / 1.531 GB, free: 1.527 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.0004196/0.7524, allocations: 155.1 kB / 1.531 GB, free: 1.363 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.7531, allocations: 260.1 kB / 1.531 GB, free: 1.109 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7531, allocations: 0 / 1.531 GB, free: 1.109 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.7535, allocations: 138 kB / 1.531 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.7545, allocations: 161 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.7567, allocations: 0.9427 MB / 1.533 GB, free: 15.83 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.7569, allocations: 219.4 kB / 1.533 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003087/0.7572, allocations: 74.91 kB / 1.533 GB, free: 15.52 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.7574, allocations: 35.36 kB / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of SimCode: time 2.81e-07/0.7574, allocations: 0 / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of Templates: time 0.01923/0.7766, allocations: 7.731 MB / 1.54 GB, free: 7.941 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.733993399888277]