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.001807/0.001807, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002524/0.002524, allocations: 217 kB / 23.04 MB, free: 5.074 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 8.004 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 3.042/3.042, allocations: 0.49 GB / 0.7959 GB, free: 33.35 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="cs",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.001964/0.001964, allocations: 61.16 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3478, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2108/0.5585, allocations: 177.6 MB / 1.5 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004125/0.5627, allocations: 2.314 MB / 1.502 GB, free: 13.42 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.5631, allocations: 19.81 kB / 1.502 GB, free: 13.4 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.5639, allocations: 242.4 kB / 1.503 GB, free: 13.16 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.5663, allocations: 0.984 MB / 1.504 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.5684, allocations: 0.8602 MB / 1.504 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.5697, allocations: 0.9702 MB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.5702, allocations: 275.4 kB / 1.506 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.5714, allocations: 0.6189 MB / 1.506 GB, free: 9.449 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.5719, allocations: 318.7 kB / 1.506 GB, free: 9.137 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.5719, allocations: 36 kB / 1.507 GB, free: 9.102 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.5738, allocations: 1.052 MB / 1.508 GB, free: 8.047 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.574, allocations: 163.5 kB / 1.508 GB, free: 7.887 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.5742, allocations: 234.8 kB / 1.508 GB, free: 7.656 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.5757, allocations: 0.9149 MB / 1.509 GB, free: 6.738 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5757, allocations: 0 / 1.509 GB, free: 6.738 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5757, allocations: 0 / 1.509 GB, free: 6.738 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.5757, allocations: 0 / 1.509 GB, free: 6.738 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.001305/0.577, allocations: 0.7378 MB / 1.51 GB, free: 5.969 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.577, allocations: 12.03 kB / 1.51 GB, free: 5.957 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.747e-05/0.5771, allocations: 12.53 kB / 1.51 GB, free: 5.945 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.495e-05/0.5771, allocations: 70.47 kB / 1.51 GB, free: 5.867 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.5784, allocations: 179.5 kB / 1.51 GB, free: 5.691 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.5791, allocations: 335.8 kB / 1.51 GB, free: 5.34 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5791, allocations: 20.66 kB / 1.51 GB, free: 5.32 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.5792, allocations: 32 kB / 1.51 GB, free: 5.289 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.5798, allocations: 373 kB / 1.511 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5798, allocations: 0 / 1.511 GB, free: 4.895 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.5799, allocations: 15.94 kB / 1.511 GB, free: 4.879 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.5799, allocations: 12 kB / 1.511 GB, free: 4.867 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.5804, allocations: 261.8 kB / 1.511 GB, free: 4.613 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.5825, allocations: 1.629 MB / 1.512 GB, free: 2.855 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.5829, allocations: 198.5 kB / 1.513 GB, free: 2.652 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.5831, allocations: 105.8 kB / 1.513 GB, free: 2.547 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/0.5838, allocations: 123.9 kB / 1.513 GB, free: 2.426 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5839, allocations: 38.42 kB / 1.513 GB, free: 2.379 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.382e-06/0.5839, allocations: 0 / 1.513 GB, free: 2.379 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0009206/0.5848, allocations: 359.1 kB / 1.513 GB, free: 2.023 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5848, allocations: 55.41 kB / 1.513 GB, free: 1.957 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.5853, allocations: 421.9 kB / 1.514 GB, free: 1.535 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.5853, allocations: 37.64 kB / 1.514 GB, free: 1.492 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5855, allocations: 208.4 kB / 1.514 GB, free: 1.285 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.5856, allocations: 91.2 kB / 1.514 GB, free: 1.195 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.5857, allocations: 49.7 kB / 1.514 GB, free: 1.141 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5859, allocations: 358.7 kB / 1.514 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.5861, allocations: 84.05 kB / 1.514 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.5863, allocations: 128 kB / 1.515 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.5867, allocations: 220.9 kB / 1.515 GB, free: 344 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5867, allocations: 0 / 1.515 GB, free: 344 kB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005422/0.5873, allocations: 277.2 kB / 1.515 GB, free: 60 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5873, allocations: 4 kB / 1.515 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5873, allocations: 0 / 1.515 GB, free: 56 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5873, allocations: 4 kB / 1.515 GB, free: 52 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.5876, allocations: 59.89 kB / 1.515 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5876, allocations: 4 kB / 1.515 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5878, allocations: 39.75 kB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.5878, allocations: 8 kB / 1.515 GB, free: 15.94 MB / 1.217 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.0001831/0.588, allocations: 165.8 kB / 1.515 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.5881, allocations: 43.72 kB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/0.5887, allocations: 283.1 kB / 1.516 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5887, allocations: 7.938 kB / 1.516 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5887, allocations: 4 kB / 1.516 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5887, allocations: 0 / 1.516 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.59, allocations: 0.781 MB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.59, allocations: 0 / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.5902, allocations: 47.91 kB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.5903, allocations: 4 kB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.5903, allocations: 8 kB / 1.516 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5903, allocations: 4 kB / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5903, allocations: 0 / 1.516 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.5911, allocations: 0.5079 MB / 1.517 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.5912, allocations: 67.67 kB / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.5913, allocations: 11.98 kB / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.5916, allocations: 11.98 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.5916, allocations: 31.75 kB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5916, allocations: 8 kB / 1.517 GB, free: 13.85 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003414/0.592, allocations: 303.1 kB / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.592, allocations: 0 / 1.517 GB, free: 13.55 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004554/0.5924, allocations: 115.8 kB / 1.517 GB, free: 13.44 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.001324/0.5938, allocations: 1.121 MB / 1.519 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.5943, allocations: 214 kB / 1.519 GB, free: 12.07 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5943, allocations: 0 / 1.519 GB, free: 12.07 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.5945, allocations: 108.8 kB / 1.519 GB, free: 11.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5957, allocations: 224.3 kB / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.6009, allocations: 3.696 MB / 1.523 GB, free: 7.922 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.6015, allocations: 0.8311 MB / 1.523 GB, free: 7.066 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002947/0.6018, allocations: 83.34 kB / 1.524 GB, free: 6.984 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.602, allocations: 135.4 kB / 1.524 GB, free: 6.852 MB / 1.217 GB Notification: Performance of SimCode: time 1.092e-06/0.602, allocations: 0 / 1.524 GB, free: 6.852 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/0.6555, allocations: 12.41 MB / 1.536 GB, free: 10.72 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.34, allocations: 7.312 kB / 1.536 GB, free: 10.72 MB / 1.232 GB " [Timeout remaining time 287] (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: 18.81577607395593]