Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.0007309/0.0007309, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009353/0.001666, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006736/0.0006736, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008187/0.001492, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.028/1.028, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1217/1.149, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.708/2.708, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.376/3.084, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.808e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1919/0.192, allocations: 138.8 MB / 0.9539 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.2044, allocations: 4.646 MB / 0.9584 GB, free: 2.891 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.207, allocations: 51.62 kB / 0.9585 GB, free: 2.84 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.2083, allocations: 325.6 kB / 0.9588 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.2126, allocations: 1.215 MB / 0.96 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.2153, allocations: 0.861 MB / 0.9608 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.006509/0.2218, allocations: 4.217 MB / 0.9649 GB, free: 12.2 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003334/0.2252, allocations: 1.182 MB / 0.9661 GB, free: 11.01 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005996/0.2312, allocations: 2.101 MB / 0.9681 GB, free: 8.918 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.2343, allocations: 1.368 MB / 0.9695 GB, free: 7.547 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006235/0.2349, allocations: 188 kB / 0.9696 GB, free: 7.363 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.2368, allocations: 499.2 kB / 0.9701 GB, free: 6.875 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006118/0.2374, allocations: 0.522 MB / 0.9706 GB, free: 6.352 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.2395, allocations: 0.6005 MB / 0.9712 GB, free: 5.75 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/0.2425, allocations: 1.698 MB / 0.9729 GB, free: 4.047 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.89e-05/0.2426, allocations: 0 / 0.9729 GB, free: 4.047 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.516e-06/0.2426, allocations: 7.938 kB / 0.9729 GB, free: 4.039 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.463e-05/0.2426, allocations: 0 / 0.9729 GB, free: 4.039 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.003916/0.2466, allocations: 2.533 MB / 0.9753 GB, free: 1.453 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.2466, allocations: 8.625 kB / 0.9754 GB, free: 1.445 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.2501, allocations: 1.15 MB / 0.9765 GB, free: 300 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.2518, allocations: 0.7493 MB / 0.9772 GB, free: 15.51 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.2519, allocations: 131.2 kB / 0.9773 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.2522, allocations: 156 kB / 0.9775 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.2547, allocations: 1.792 MB / 0.9792 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.2548, allocations: 0 / 0.9792 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.255, allocations: 60 kB / 0.9793 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-05/0.2551, allocations: 95.28 kB / 0.9794 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.2568, allocations: 1.19 MB / 0.9805 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.2633, allocations: 3.538 MB / 0.984 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.2663, allocations: 2.158 MB / 0.9861 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009016/0.2672, allocations: 0.6594 MB / 0.9867 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.2674, allocations: 61.97 kB / 0.9868 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.2674, allocations: 64.56 kB / 0.9869 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=237): time 7.585e-06/0.2674, allocations: 0 / 0.9869 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=237): time 0.002722/0.2702, allocations: 1.532 MB / 0.9884 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.2702, allocations: 73.41 kB / 0.9884 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/0.271, allocations: 0.6884 MB / 0.9891 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.2711, allocations: 65.7 kB / 0.9892 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.2715, allocations: 0.5072 MB / 0.9897 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000698/0.2722, allocations: 0.8286 MB / 0.9905 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.2727, allocations: 400.4 kB / 0.9909 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2728, allocations: 357.8 kB / 0.9912 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.2734, allocations: 364.6 kB / 0.9915 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.2746, allocations: 0.6172 MB / 0.9921 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.276, allocations: 1.207 MB / 0.9933 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.276, allocations: 0 / 0.9933 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00196/0.278, allocations: 1.287 MB / 0.9946 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.278, allocations: 4 kB / 0.9946 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.278, allocations: 4 kB / 0.9946 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.2781, allocations: 16 kB / 0.9946 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.28, allocations: 0.6711 MB / 0.9953 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.2801, allocations: 15.94 kB / 0.9953 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2815, allocations: 282.3 kB / 0.9955 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.2816, allocations: 63.95 kB / 0.9956 GB, free: 12.25 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (303): * Single equations (assignments): 303 * 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.0006382/0.2823, allocations: 244.1 kB / 0.9958 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.2826, allocations: 163.9 kB / 0.996 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.2848, allocations: 1.448 MB / 0.9974 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.2849, allocations: 27.94 kB / 0.9974 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2849, allocations: 0 / 0.9974 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/0.2867, allocations: 1.12 MB / 0.9985 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.2902, allocations: 2.225 MB / 1.001 GB, free: 6.914 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2902, allocations: 7.938 kB / 1.001 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.292, allocations: 0.5696 MB / 1.001 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/0.2929, allocations: 298.4 kB / 1.002 GB, free: 6.043 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/0.2933, allocations: 85.61 kB / 1.002 GB, free: 5.953 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.2934, allocations: 55.89 kB / 1.002 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007849/0.2942, allocations: 1.062 MB / 1.003 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.2942, allocations: 3.938 kB / 1.003 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.2972, allocations: 1.966 MB / 1.005 GB, free: 2.789 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.2975, allocations: 47.92 kB / 1.005 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.2985, allocations: 135.9 kB / 1.005 GB, free: 2.609 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.2988, allocations: 137.7 kB / 1.005 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.2989, allocations: 55.95 kB / 1.005 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003836/0.2993, allocations: 323.3 kB / 1.005 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2993, allocations: 0 / 1.005 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00221/0.3015, allocations: 0.6674 MB / 1.006 GB, free: 1.434 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005174/0.302, allocations: 194.8 kB / 1.006 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.3043, allocations: 1.267 MB / 1.007 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.996e-05/0.3044, allocations: 36.31 kB / 1.007 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3055, allocations: 0.7129 MB / 1.008 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.3075, allocations: 0.7913 MB / 1.009 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.318, allocations: 2.988 MB / 1.012 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3183, allocations: 366.3 kB / 1.012 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002396/0.3207, allocations: 381.7 kB / 1.013 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/0.3227, allocations: 0.5458 MB / 1.013 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of SimCode: time 4.248e-06/0.3227, allocations: 4 kB / 1.013 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of Templates: time 0.7289/1.052, allocations: 37.98 MB / 1.05 GB, free: 86.82 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.326649871654809]