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.0008564/0.0008564, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002032, allocations: 440 kB / 10.41 MB, free: 284 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.001123/0.001123, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002661, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9195/0.9195, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08329/1.003, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.304/2.304, allocations: 447.1 MB / 0.675 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2142/2.519, allocations: 146 MB / 0.8176 GB, free: 3.875 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8189 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.683e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1245/0.1246, allocations: 147.3 MB / 0.9628 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1272, allocations: 1.88 MB / 0.9646 GB, free: 12.78 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.1276, allocations: 15.88 kB / 0.9646 GB, free: 12.77 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.128, allocations: 143 kB / 0.9648 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009287/0.1289, allocations: 0.5553 MB / 0.9653 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.1298, allocations: 0.491 MB / 0.9658 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009852/0.1308, allocations: 0.9543 MB / 0.9667 GB, free: 10.61 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.1311, allocations: 276 kB / 0.967 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006422/0.1318, allocations: 0.5306 MB / 0.9675 GB, free: 9.805 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.1322, allocations: 259.2 kB / 0.9677 GB, free: 9.551 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.1323, allocations: 36 kB / 0.9678 GB, free: 9.516 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.1329, allocations: 379.1 kB / 0.9681 GB, free: 9.145 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.133, allocations: 147.5 kB / 0.9683 GB, free: 9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1331, allocations: 135.8 kB / 0.9684 GB, free: 8.867 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.1338, allocations: 0.5256 MB / 0.9689 GB, free: 8.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.1338, allocations: 0 / 0.9689 GB, free: 8.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1338, allocations: 0 / 0.9689 GB, free: 8.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.1338, allocations: 0 / 0.9689 GB, free: 8.34 MB / 0.948 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.0008919/0.1347, allocations: 0.795 MB / 0.9697 GB, free: 7.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1348, allocations: 8.031 kB / 0.9697 GB, free: 7.512 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.1356, allocations: 369.2 kB / 0.9701 GB, free: 7.133 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.136, allocations: 295.3 kB / 0.9703 GB, free: 6.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.136, allocations: 28.66 kB / 0.9704 GB, free: 6.793 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.1361, allocations: 28 kB / 0.9704 GB, free: 6.766 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.1364, allocations: 359.8 kB / 0.9707 GB, free: 6.371 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1364, allocations: 3.984 kB / 0.9707 GB, free: 6.367 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1365, allocations: 12 kB / 0.9707 GB, free: 6.355 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1365, allocations: 15.94 kB / 0.9708 GB, free: 6.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1366, allocations: 111.9 kB / 0.9709 GB, free: 6.227 MB / 0.948 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.0009257/0.1376, allocations: 1.054 MB / 0.9719 GB, free: 5.125 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1377, allocations: 161.2 kB / 0.9721 GB, free: 4.957 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1378, allocations: 51.67 kB / 0.9721 GB, free: 4.902 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.138, allocations: 47.94 kB / 0.9721 GB, free: 4.855 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.138, allocations: 38.56 kB / 0.9722 GB, free: 4.809 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/0.138, allocations: 7.938 kB / 0.9722 GB, free: 4.801 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0003441/0.1383, allocations: 177.3 kB / 0.9724 GB, free: 4.621 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.1384, allocations: 51.41 kB / 0.9724 GB, free: 4.559 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1385, allocations: 307.3 kB / 0.9727 GB, free: 4.242 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1386, allocations: 33.7 kB / 0.9727 GB, free: 4.203 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.1386, allocations: 200.9 kB / 0.9729 GB, free: 4.004 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1387, allocations: 83.3 kB / 0.973 GB, free: 3.922 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.1388, allocations: 57.92 kB / 0.9731 GB, free: 3.855 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.1388, allocations: 350.7 kB / 0.9734 GB, free: 3.504 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.1389, allocations: 39.38 kB / 0.9734 GB, free: 3.465 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.139, allocations: 158.1 kB / 0.9736 GB, free: 3.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1391, allocations: 171.3 kB / 0.9737 GB, free: 3.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1391, allocations: 0 / 0.9737 GB, free: 3.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002064/0.1393, allocations: 197.7 kB / 0.9739 GB, free: 2.871 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1394, allocations: 4 kB / 0.9739 GB, free: 2.867 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1394, allocations: 4 kB / 0.9739 GB, free: 2.863 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1394, allocations: 7.938 kB / 0.974 GB, free: 2.855 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1396, allocations: 79.88 kB / 0.974 GB, free: 2.777 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1396, allocations: 11.92 kB / 0.974 GB, free: 2.766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1397, allocations: 43.98 kB / 0.9741 GB, free: 2.723 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1397, allocations: 4 kB / 0.9741 GB, free: 2.719 MB / 0.948 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 8.581e-05/0.1398, allocations: 128.6 kB / 0.9742 GB, free: 2.582 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.1399, allocations: 31.97 kB / 0.9742 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.1401, allocations: 163.1 kB / 0.9744 GB, free: 2.379 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1401, allocations: 7.938 kB / 0.9744 GB, free: 2.371 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1401, allocations: 3.938 kB / 0.9744 GB, free: 2.367 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1401, allocations: 4 kB / 0.9744 GB, free: 2.363 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.1407, allocations: 0.5639 MB / 0.975 GB, free: 1.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1407, allocations: 0 / 0.975 GB, free: 1.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1409, allocations: 59.89 kB / 0.975 GB, free: 1.691 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.141, allocations: 51.62 kB / 0.9751 GB, free: 1.641 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.141, allocations: 4 kB / 0.9751 GB, free: 1.637 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.141, allocations: 4 kB / 0.9751 GB, free: 1.633 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.141, allocations: 192 / 0.9751 GB, free: 1.633 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.141, allocations: 11.94 kB / 0.9751 GB, free: 1.621 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1413, allocations: 377.3 kB / 0.9754 GB, free: 1.211 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.1413, allocations: 8 kB / 0.9755 GB, free: 1.203 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.1414, allocations: 15.97 kB / 0.9755 GB, free: 1.188 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1415, allocations: 23.91 kB / 0.9755 GB, free: 1.164 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1415, allocations: 8 kB / 0.9755 GB, free: 1.156 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.748e-05/0.1416, allocations: 116.7 kB / 0.9756 GB, free: 1.047 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1416, allocations: 0 / 0.9756 GB, free: 1.047 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002715/0.1418, allocations: 131.8 kB / 0.9757 GB, free: 0.918 MB / 0.948 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.0001818/0.142, allocations: 120.2 kB / 0.9759 GB, free: 0.793 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.1422, allocations: 140.5 kB / 0.976 GB, free: 0.6523 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.1422, allocations: 4.656 kB / 0.976 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.1423, allocations: 87.03 kB / 0.9761 GB, free: 0.5625 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.143, allocations: 1.103 MB / 0.9771 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.1463, allocations: 0.7702 MB / 0.9779 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.714e-05/0.1464, allocations: 121.2 kB / 0.978 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.1466, allocations: 51.27 kB / 0.9781 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.1468, allocations: 169.2 kB / 0.9782 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of SimCode: time 8.61e-07/0.1468, allocations: 0 / 0.9782 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of Templates: time 0.009318/0.1561, allocations: 7.51 MB / 0.9856 GB, free: 6.75 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice/Buildings_latest_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: 5.177488472312689]