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.001838/0.001838, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.001973/0.001973, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.359 MB / 186.7 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.493/3.493, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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 1.442e-06/1.442e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.882e-05, allocations: 5.125 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2268/0.2268, allocations: 163.6 MB / 1.037 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.2422, allocations: 8.705 MB / 1.046 GB, free: 9.852 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.2436, allocations: 55.62 kB / 1.046 GB, free: 9.797 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.2453, allocations: 0.5587 MB / 1.046 GB, free: 9.234 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.25, allocations: 1.662 MB / 1.048 GB, free: 7.562 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.2531, allocations: 1.017 MB / 1.049 GB, free: 6.543 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.006025/0.2591, allocations: 4.254 MB / 1.053 GB, free: 2.273 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.2611, allocations: 1.109 MB / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4045/0.6657, allocations: 2.17 MB / 1.056 GB, free: 51.6 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.6676, allocations: 1.417 MB / 1.058 GB, free: 51.6 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.6679, allocations: 189.8 kB / 1.058 GB, free: 51.6 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.6698, allocations: 0.9724 MB / 1.059 GB, free: 51.6 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.6702, allocations: 0.675 MB / 1.059 GB, free: 51.6 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007815/0.671, allocations: 0.7455 MB / 1.06 GB, free: 51.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.6737, allocations: 2.921 MB / 1.063 GB, free: 51.5 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.6737, allocations: 0 / 1.063 GB, free: 51.5 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6737, allocations: 0.875 kB / 1.063 GB, free: 51.5 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.6737, allocations: 0 / 1.063 GB, free: 51.5 MB / 1.01 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.003896/0.6776, allocations: 2.365 MB / 1.065 GB, free: 50.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6777, allocations: 9.625 kB / 1.065 GB, free: 50.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007436/0.6851, allocations: 1.166 MB / 1.066 GB, free: 50.28 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.6874, allocations: 1.093 MB / 1.067 GB, free: 49.99 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.6875, allocations: 127 kB / 1.068 GB, free: 49.99 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.6878, allocations: 159.9 kB / 1.068 GB, free: 49.98 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.6919, allocations: 2.366 MB / 1.07 GB, free: 49.62 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.6919, allocations: 3.375 kB / 1.07 GB, free: 49.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.6921, allocations: 66.78 kB / 1.07 GB, free: 49.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.528e-05/0.6922, allocations: 97.38 kB / 1.07 GB, free: 49.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.6973, allocations: 2.699 MB / 1.073 GB, free: 49.61 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009166/0.7065, allocations: 5.356 MB / 1.078 GB, free: 48.29 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.711, allocations: 2.568 MB / 1.081 GB, free: 48.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.7135, allocations: 1.221 MB / 1.082 GB, free: 48.13 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.7138, allocations: 84.84 kB / 1.082 GB, free: 48.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.7139, allocations: 61.02 kB / 1.082 GB, free: 48.08 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 4.869e-06/0.7139, allocations: 0.8438 kB / 1.082 GB, free: 48.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.008183/0.7221, allocations: 3.327 MB / 1.085 GB, free: 47.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.7221, allocations: 80.06 kB / 1.085 GB, free: 47.83 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.7233, allocations: 0.9684 MB / 1.086 GB, free: 47.61 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.7234, allocations: 65.61 kB / 1.086 GB, free: 47.58 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.7238, allocations: 0.6617 MB / 1.087 GB, free: 47.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.7244, allocations: 0.8861 MB / 1.088 GB, free: 46.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008238/0.7252, allocations: 480.3 kB / 1.088 GB, free: 46.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7253, allocations: 0.5513 MB / 1.089 GB, free: 46.13 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.7276, allocations: 0.9433 MB / 1.09 GB, free: 46.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.7301, allocations: 1.308 MB / 1.091 GB, free: 45.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.735, allocations: 2.477 MB / 1.093 GB, free: 45.64 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.735, allocations: 0 / 1.093 GB, free: 45.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006143/0.7412, allocations: 2.712 MB / 1.096 GB, free: 45.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.7412, allocations: 9.312 kB / 1.096 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7412, allocations: 4.562 kB / 1.096 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.7413, allocations: 15.62 kB / 1.096 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.7451, allocations: 0.5852 MB / 1.097 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.791e-05/0.7451, allocations: 14.47 kB / 1.097 GB, free: 45.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.7478, allocations: 288.8 kB / 1.097 GB, free: 45.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.7481, allocations: 89.14 kB / 1.097 GB, free: 45.33 MB / 1.01 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.0008144/0.7489, allocations: 378.1 kB / 1.097 GB, free: 45.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005704/0.7495, allocations: 224.5 kB / 1.098 GB, free: 45.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006079/0.7555, allocations: 2.685 MB / 1.1 GB, free: 44.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.7556, allocations: 26.28 kB / 1.1 GB, free: 44.95 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7556, allocations: 1.156 kB / 1.1 GB, free: 44.95 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005047/0.7606, allocations: 2.352 MB / 1.103 GB, free: 44.64 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008225/0.7688, allocations: 3.998 MB / 1.106 GB, free: 44.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7688, allocations: 1.469 kB / 1.106 GB, free: 44.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/0.772, allocations: 0.4898 MB / 1.107 GB, free: 44.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005698/0.7726, allocations: 105 kB / 1.107 GB, free: 44.08 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/0.7729, allocations: 60.95 kB / 1.107 GB, free: 44.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005866/0.7734, allocations: 1.665 MB / 1.109 GB, free: 42.49 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7734, allocations: 1.094 kB / 1.109 GB, free: 42.49 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009116/0.7826, allocations: 3.926 MB / 1.113 GB, free: 42.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/0.784, allocations: 450.3 kB / 1.113 GB, free: 41.99 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/0.7845, allocations: 43.36 kB / 1.113 GB, free: 41.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.7867, allocations: 137.9 kB / 1.113 GB, free: 41.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/0.7872, allocations: 143.4 kB / 1.113 GB, free: 41.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/0.7874, allocations: 76.72 kB / 1.113 GB, free: 41.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008963/0.7883, allocations: 0.5771 MB / 1.114 GB, free: 41.85 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7883, allocations: 1.031 kB / 1.114 GB, free: 41.85 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002071/0.7904, allocations: 0.7274 MB / 1.115 GB, free: 41.79 MB / 1.01 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.0007635/0.7911, allocations: 349.1 kB / 1.115 GB, free: 41.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005825/0.7969, allocations: 2.419 MB / 1.117 GB, free: 41.62 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7969, allocations: 0 / 1.117 GB, free: 41.62 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.7998, allocations: 1.279 MB / 1.119 GB, free: 41.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.8029, allocations: 0.6308 MB / 1.119 GB, free: 41.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/0.8092, allocations: 3.597 MB / 1.123 GB, free: 40.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/0.8099, allocations: 0.7165 MB / 1.123 GB, free: 40.24 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002962/0.8129, allocations: 0.7413 MB / 1.124 GB, free: 40.05 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.8139, allocations: 179.2 kB / 1.124 GB, free: 40.04 MB / 1.01 GB Notification: Performance of SimCode: time 1.323e-06/0.8139, allocations: 0 / 1.124 GB, free: 40.04 MB / 1.01 GB Notification: Performance of Templates: time 0.04782/0.8617, allocations: 35.8 MB / 1.159 GB, free: 34.99 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.795959169976413]