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.00151/0.00151, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.001678/0.001678, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.987/2.987, allocations: 0.49 GB / 0.7916 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [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.003246/0.003246, allocations: 67.56 kB / 1.149 GB, free: 26.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3754, allocations: 176.1 MB / 1.321 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1996/0.575, allocations: 177.3 MB / 1.494 GB, free: 1.453 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004058/0.579, allocations: 2.314 MB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.5794, allocations: 23.81 kB / 1.496 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007658/0.5801, allocations: 234.4 kB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.5823, allocations: 0.9723 MB / 1.497 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.5842, allocations: 0.8217 MB / 1.498 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.5854, allocations: 0.9662 MB / 1.499 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.5858, allocations: 275 kB / 1.499 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.5869, allocations: 0.615 MB / 1.5 GB, free: 11.22 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.5873, allocations: 314.7 kB / 1.5 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.5874, allocations: 32 kB / 1.5 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.589, allocations: 1.044 MB / 1.501 GB, free: 9.836 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.5892, allocations: 151.5 kB / 1.502 GB, free: 9.688 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.5894, allocations: 238.8 kB / 1.502 GB, free: 9.453 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.5907, allocations: 0.9149 MB / 1.503 GB, free: 8.535 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5908, allocations: 0 / 1.503 GB, free: 8.535 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5908, allocations: 3.938 kB / 1.503 GB, free: 8.531 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5908, allocations: 3.938 kB / 1.503 GB, free: 8.527 MB / 1.201 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.001399/0.5922, allocations: 0.8109 MB / 1.503 GB, free: 7.668 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5922, allocations: 11.98 kB / 1.503 GB, free: 7.656 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.5923, allocations: 70.53 kB / 1.504 GB, free: 7.578 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.5936, allocations: 183.4 kB / 1.504 GB, free: 7.398 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.5944, allocations: 401.6 kB / 1.504 GB, free: 6.969 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.5944, allocations: 24.66 kB / 1.504 GB, free: 6.945 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.5945, allocations: 28 kB / 1.504 GB, free: 6.918 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.5951, allocations: 369.1 kB / 1.504 GB, free: 6.527 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5951, allocations: 0 / 1.504 GB, free: 6.527 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.5952, allocations: 19.94 kB / 1.504 GB, free: 6.508 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.5952, allocations: 19.97 kB / 1.505 GB, free: 6.488 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.5957, allocations: 254 kB / 1.505 GB, free: 6.242 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.5977, allocations: 1.68 MB / 1.506 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.5981, allocations: 190.5 kB / 1.507 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.5984, allocations: 112.8 kB / 1.507 GB, free: 4.117 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.5994, allocations: 0.8701 MB / 1.508 GB, free: 3.062 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.5995, allocations: 42.41 kB / 1.508 GB, free: 3.012 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.5995, allocations: 0 / 1.508 GB, free: 3.012 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0009487/0.6004, allocations: 354.9 kB / 1.508 GB, free: 2.66 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6005, allocations: 55.39 kB / 1.508 GB, free: 2.594 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.601, allocations: 426 kB / 1.508 GB, free: 2.172 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.601, allocations: 29.7 kB / 1.508 GB, free: 2.137 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.6012, allocations: 216.4 kB / 1.509 GB, free: 1.922 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.6013, allocations: 83.23 kB / 1.509 GB, free: 1.84 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.6013, allocations: 49.7 kB / 1.509 GB, free: 1.785 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6015, allocations: 358.7 kB / 1.509 GB, free: 1.426 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.6017, allocations: 75.95 kB / 1.509 GB, free: 1.352 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.6019, allocations: 132.3 kB / 1.509 GB, free: 1.211 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.6024, allocations: 205.5 kB / 1.509 GB, free: 1 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6024, allocations: 0 / 1.509 GB, free: 1 MB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005504/0.6029, allocations: 289.2 kB / 1.51 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6029, allocations: 4.109 kB / 1.51 GB, free: 0.707 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6029, allocations: 7.875 kB / 1.51 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.603, allocations: 4 kB / 1.51 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.6032, allocations: 48.06 kB / 1.51 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.6032, allocations: 3.938 kB / 1.51 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.6035, allocations: 39.77 kB / 1.51 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.6035, allocations: 11.98 kB / 1.51 GB, free: 0.5938 MB / 1.201 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.0001939/0.6037, allocations: 163.3 kB / 1.51 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.6038, allocations: 43.72 kB / 1.51 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.6045, allocations: 290.8 kB / 1.51 GB, free: 92 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6045, allocations: 4 kB / 1.51 GB, free: 88 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.6045, allocations: 3.938 kB / 1.51 GB, free: 84 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6045, allocations: 3.984 kB / 1.51 GB, free: 80 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.606, allocations: 0.8096 MB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.606, allocations: 4 kB / 1.511 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.6062, allocations: 44.17 kB / 1.511 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6062, allocations: 3.938 kB / 1.511 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.6062, allocations: 11.98 kB / 1.511 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6062, allocations: 4 kB / 1.511 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6062, allocations: 4 kB / 1.511 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.6071, allocations: 0.5038 MB / 1.512 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.6073, allocations: 148.8 kB / 1.512 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.6074, allocations: 4 kB / 1.512 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.6076, allocations: 23.92 kB / 1.512 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.6077, allocations: 23.91 kB / 1.512 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.6077, allocations: 8 kB / 1.512 GB, free: 14.36 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003754/0.6081, allocations: 303.1 kB / 1.512 GB, free: 14.07 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6081, allocations: 0 / 1.512 GB, free: 14.07 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005455/0.6086, allocations: 115.8 kB / 1.512 GB, free: 13.96 MB / 1.217 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.001513/0.6102, allocations: 1.114 MB / 1.513 GB, free: 12.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005667/0.6107, allocations: 210.5 kB / 1.514 GB, free: 12.6 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6107, allocations: 0 / 1.514 GB, free: 12.6 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.611, allocations: 107.8 kB / 1.514 GB, free: 12.49 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.6122, allocations: 230.6 kB / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.6179, allocations: 3.697 MB / 1.518 GB, free: 8.438 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.6184, allocations: 0.8272 MB / 1.518 GB, free: 7.582 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003578/0.6188, allocations: 83.34 kB / 1.518 GB, free: 7.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.619, allocations: 135.4 kB / 1.519 GB, free: 7.367 MB / 1.217 GB Notification: Performance of SimCode: time 1.512e-06/0.619, allocations: 0 / 1.519 GB, free: 7.367 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.66, allocations: 12.12 MB / 1.53 GB, free: 11.46 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.06, allocations: 9.172 kB / 1.53 GB, free: 11.45 MB / 1.232 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.365449640201405]