Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001907/0.001907, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.002187/0.002187, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.684/2.684, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002076/0.002076, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2978, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7207/1.019, allocations: 153.5 MB / 1.267 GB, free: 8.66 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004082/1.023, allocations: 2.172 MB / 1.269 GB, free: 7.188 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/1.023, allocations: 24.84 kB / 1.269 GB, free: 7.172 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007569/1.024, allocations: 226.5 kB / 1.27 GB, free: 7.035 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/1.026, allocations: 0.9409 MB / 1.271 GB, free: 6.547 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/1.029, allocations: 0.8499 MB / 1.271 GB, free: 6.137 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001612/1.03, allocations: 0.9696 MB / 1.272 GB, free: 5.699 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/1.031, allocations: 269.2 kB / 1.273 GB, free: 5.578 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008834/1.032, allocations: 483.4 kB / 1.273 GB, free: 5.375 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/1.032, allocations: 314.4 kB / 1.273 GB, free: 5.254 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/1.032, allocations: 36.81 kB / 1.273 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/1.034, allocations: 0.8236 MB / 1.274 GB, free: 4.949 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/1.034, allocations: 158.7 kB / 1.274 GB, free: 4.875 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/1.035, allocations: 206.6 kB / 1.275 GB, free: 4.773 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/1.036, allocations: 0.8694 MB / 1.275 GB, free: 4.484 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.036, allocations: 1.094 kB / 1.275 GB, free: 4.484 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/1.036, allocations: 0 / 1.275 GB, free: 4.484 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.036, allocations: 0.6094 kB / 1.275 GB, free: 4.484 MB / 1.123 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.001362/1.038, allocations: 0.7497 MB / 1.276 GB, free: 3.934 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/1.038, allocations: 8.469 kB / 1.276 GB, free: 3.934 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.039, allocations: 180.6 kB / 1.276 GB, free: 3.891 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/1.04, allocations: 334.4 kB / 1.277 GB, free: 3.648 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/1.04, allocations: 25.31 kB / 1.277 GB, free: 3.637 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/1.04, allocations: 32.08 kB / 1.277 GB, free: 3.625 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/1.04, allocations: 424.3 kB / 1.277 GB, free: 3.371 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/1.041, allocations: 1.25 kB / 1.277 GB, free: 3.371 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/1.041, allocations: 15.41 kB / 1.277 GB, free: 3.359 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/1.041, allocations: 11.78 kB / 1.277 GB, free: 3.359 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/1.041, allocations: 262.7 kB / 1.277 GB, free: 3.273 MB / 1.123 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.001763/1.043, allocations: 1.236 MB / 1.279 GB, free: 2.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/1.043, allocations: 200.2 kB / 1.279 GB, free: 2.254 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.044, allocations: 103.8 kB / 1.279 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/1.044, allocations: 129.2 kB / 1.279 GB, free: 2.207 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.044, allocations: 38 kB / 1.279 GB, free: 2.164 MB / 1.123 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/1.044, allocations: 0 / 1.279 GB, free: 2.164 MB / 1.123 GB Notification: Performance of matching and sorting (n=23): time 0.0009677/1.045, allocations: 345.3 kB / 1.279 GB, free: 2.039 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.045, allocations: 59.59 kB / 1.279 GB, free: 1.973 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/1.046, allocations: 325.7 kB / 1.28 GB, free: 1.801 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.046, allocations: 30.83 kB / 1.28 GB, free: 1.766 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/1.046, allocations: 214.6 kB / 1.28 GB, free: 1.586 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/1.046, allocations: 80.58 kB / 1.28 GB, free: 1.523 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.046, allocations: 54.62 kB / 1.28 GB, free: 1.488 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.046, allocations: 344.5 kB / 1.28 GB, free: 1.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.046, allocations: 76.88 kB / 1.281 GB, free: 1.141 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/1.047, allocations: 177.1 kB / 1.281 GB, free: 1.016 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/1.047, allocations: 209.7 kB / 1.281 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.047, allocations: 1.188 kB / 1.281 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005433/1.048, allocations: 274.1 kB / 1.281 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.048, allocations: 5.859 kB / 1.281 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.048, allocations: 0.9062 kB / 1.281 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.048, allocations: 2.812 kB / 1.281 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/1.048, allocations: 56.66 kB / 1.281 GB, free: 0.793 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.048, allocations: 11.11 kB / 1.281 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.048, allocations: 24.83 kB / 1.281 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/1.048, allocations: 12.33 kB / 1.281 GB, free: 0.7656 MB / 1.123 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.0001828/1.048, allocations: 164.1 kB / 1.281 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/1.048, allocations: 32.56 kB / 1.281 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/1.049, allocations: 289.7 kB / 1.282 GB, free: 492 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.049, allocations: 7.453 kB / 1.282 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.049, allocations: 1.125 kB / 1.282 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.049, allocations: 0.7969 kB / 1.282 GB, free: 488 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/1.05, allocations: 0.6973 MB / 1.282 GB, free: 44 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.05, allocations: 4.625 kB / 1.282 GB, free: 44 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/1.051, allocations: 49.97 kB / 1.282 GB, free: 36 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.051, allocations: 3.031 kB / 1.282 GB, free: 36 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/1.051, allocations: 12.19 kB / 1.282 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/1.051, allocations: 6.734 kB / 1.282 GB, free: 24 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.051, allocations: 6.703 kB / 1.282 GB, free: 20 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/1.051, allocations: 0.4968 MB / 1.283 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/1.052, allocations: 57.89 kB / 1.283 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/1.052, allocations: 12.56 kB / 1.283 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/1.052, allocations: 15.36 kB / 1.283 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/1.052, allocations: 16.97 kB / 1.283 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.052, allocations: 12.09 kB / 1.283 GB, free: 15.67 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002668/1.052, allocations: 230 kB / 1.283 GB, free: 15.55 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.052, allocations: 0 / 1.283 GB, free: 15.55 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005549/1.053, allocations: 128 kB / 1.283 GB, free: 15.52 MB / 1.139 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.0003106/1.053, allocations: 169.8 kB / 1.284 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005096/1.054, allocations: 208.3 kB / 1.284 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.054, allocations: 1.5 kB / 1.284 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/1.054, allocations: 112.7 kB / 1.284 GB, free: 15.31 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/1.055, allocations: 158 kB / 1.284 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.056, allocations: 0.8981 MB / 1.285 GB, free: 14.69 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.057, allocations: 223.8 kB / 1.285 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002434/1.057, allocations: 73.39 kB / 1.285 GB, free: 14.58 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/1.057, allocations: 34.12 kB / 1.285 GB, free: 14.57 MB / 1.139 GB Notification: Performance of SimCode: time 3.3e-07/1.057, allocations: 0 / 1.285 GB, free: 14.57 MB / 1.139 GB Notification: Performance of Templates: time 0.01328/1.07, allocations: 6.616 MB / 1.292 GB, free: 13.87 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.749021854950115]