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.001085/0.001085, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.002819, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001092/0.001092, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002578, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.895/0.895, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0899/0.9849, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.775/1.775, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4737/2.248, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.525e-05, allocations: 6.938 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1376/0.1377, allocations: 147.3 MB / 0.8735 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1406, allocations: 1.787 MB / 0.8752 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.141, allocations: 19.81 kB / 0.8753 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.1414, allocations: 146.8 kB / 0.8754 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009267/0.1423, allocations: 0.5165 MB / 0.8759 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1433, allocations: 0.4987 MB / 0.8764 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1443, allocations: 0.9543 MB / 0.8773 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.1448, allocations: 272.4 kB / 0.8776 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007214/0.1455, allocations: 0.5434 MB / 0.8781 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.1458, allocations: 251.2 kB / 0.8783 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.1459, allocations: 36 kB / 0.8784 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.1466, allocations: 347.2 kB / 0.8787 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1467, allocations: 135.6 kB / 0.8788 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1468, allocations: 139.7 kB / 0.879 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.1476, allocations: 0.4906 MB / 0.8795 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.1476, allocations: 3.938 kB / 0.8795 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1476, allocations: 0 / 0.8795 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.1476, allocations: 0 / 0.8795 GB, free: 10.67 MB / 0.8542 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.000932/0.1485, allocations: 0.7833 MB / 0.8802 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1486, allocations: 12.03 kB / 0.8802 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007225/0.1493, allocations: 313.3 kB / 0.8805 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1497, allocations: 303.4 kB / 0.8808 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.1497, allocations: 24.66 kB / 0.8808 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.1497, allocations: 32 kB / 0.8809 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1501, allocations: 331.9 kB / 0.8812 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1501, allocations: 3.984 kB / 0.8812 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1501, allocations: 12 kB / 0.8812 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.1501, allocations: 8 kB / 0.8812 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1502, allocations: 103.9 kB / 0.8813 GB, free: 8.648 MB / 0.8542 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.001257/0.1515, allocations: 1.047 MB / 0.8823 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1517, allocations: 153.1 kB / 0.8825 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.1517, allocations: 40.28 kB / 0.8825 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.152, allocations: 99.78 kB / 0.8826 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.152, allocations: 46.55 kB / 0.8827 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.152, allocations: 0 / 0.8827 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0002954/0.1523, allocations: 159.3 kB / 0.8828 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1523, allocations: 51.41 kB / 0.8829 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1525, allocations: 311.3 kB / 0.8832 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1525, allocations: 33.7 kB / 0.8832 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.1526, allocations: 200.9 kB / 0.8834 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.1526, allocations: 79.27 kB / 0.8835 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.1527, allocations: 65.91 kB / 0.8835 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.1528, allocations: 350.7 kB / 0.8839 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.1528, allocations: 27.38 kB / 0.8839 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1529, allocations: 157 kB / 0.884 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.153, allocations: 154.7 kB / 0.8842 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1531, allocations: 0 / 0.8842 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001814/0.1532, allocations: 183.9 kB / 0.8844 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1533, allocations: 8 kB / 0.8844 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1533, allocations: 0 / 0.8844 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1533, allocations: 4 kB / 0.8844 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1534, allocations: 71.91 kB / 0.8844 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1534, allocations: 7.938 kB / 0.8844 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.1535, allocations: 27.78 kB / 0.8845 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1535, allocations: 12.22 kB / 0.8845 GB, free: 5.203 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 34 * 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 9.106e-05/0.1536, allocations: 128.6 kB / 0.8846 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1537, allocations: 27.97 kB / 0.8846 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.1539, allocations: 163.5 kB / 0.8848 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1539, allocations: 3.984 kB / 0.8848 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1539, allocations: 3.938 kB / 0.8848 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1539, allocations: 3.984 kB / 0.8848 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.1544, allocations: 0.5519 MB / 0.8853 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1544, allocations: 0 / 0.8853 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1545, allocations: 55.84 kB / 0.8854 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1546, allocations: 51.62 kB / 0.8854 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1546, allocations: 0 / 0.8854 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1546, allocations: 8 kB / 0.8854 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1546, allocations: 4 kB / 0.8854 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1546, allocations: 0 / 0.8854 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1548, allocations: 376.4 kB / 0.8858 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1549, allocations: 4 kB / 0.8858 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.155, allocations: 8 kB / 0.8858 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.155, allocations: 19.97 kB / 0.8858 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.155, allocations: 4 kB / 0.8858 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.658e-05/0.1551, allocations: 128.7 kB / 0.886 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1551, allocations: 0 / 0.886 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003022/0.1554, allocations: 123.8 kB / 0.8861 GB, free: 3.457 MB / 0.8542 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.0002205/0.1556, allocations: 140.2 kB / 0.8862 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1558, allocations: 125.2 kB / 0.8863 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.1558, allocations: 7.984 kB / 0.8863 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.1559, allocations: 77.64 kB / 0.8864 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.1567, allocations: 1.137 MB / 0.8875 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.1601, allocations: 0.7396 MB / 0.8882 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.1602, allocations: 121.1 kB / 0.8884 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001785/0.1604, allocations: 55.58 kB / 0.8884 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.1607, allocations: 163.2 kB / 0.8886 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.1607, allocations: 0 / 0.8886 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of Templates: time 0.009659/0.1703, allocations: 7.211 MB / 0.8956 GB, free: 9.574 MB / 0.8699 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.91011624224484]