Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001352/0.001352, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001484/0.001484, allocations: 220.3 kB / 23.03 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 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.158/3.158, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.00197/0.00197, allocations: 71.62 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1771/0.5018, allocations: 153.4 MB / 1.495 GB, free: 5.988 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003785/0.5056, allocations: 2.18 MB / 1.497 GB, free: 3.805 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.5059, allocations: 19.81 kB / 1.497 GB, free: 3.785 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.5066, allocations: 230.4 kB / 1.497 GB, free: 3.559 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.5088, allocations: 0.9372 MB / 1.498 GB, free: 2.617 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.5108, allocations: 0.8505 MB / 1.499 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.5121, allocations: 0.974 MB / 1.5 GB, free: 0.793 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.5125, allocations: 267.5 kB / 1.5 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.5136, allocations: 0.6189 MB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.514, allocations: 334.6 kB / 1.501 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.5141, allocations: 32 kB / 1.501 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.5155, allocations: 0.8219 MB / 1.502 GB, free: 14.72 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.5157, allocations: 151.5 kB / 1.502 GB, free: 14.57 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.5159, allocations: 199.1 kB / 1.502 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.5172, allocations: 0.8798 MB / 1.503 GB, free: 13.5 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5172, allocations: 0 / 1.503 GB, free: 13.5 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.624e-06/0.5172, allocations: 0 / 1.503 GB, free: 13.5 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5172, allocations: 4 kB / 1.503 GB, free: 13.49 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.001353/0.5186, allocations: 0.7455 MB / 1.504 GB, free: 12.71 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5186, allocations: 8.031 kB / 1.504 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.566e-05/0.5187, allocations: 12.66 kB / 1.504 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.936e-05/0.5187, allocations: 70.47 kB / 1.504 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.52, allocations: 187.5 kB / 1.504 GB, free: 12.43 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.5207, allocations: 323.9 kB / 1.505 GB, free: 12.09 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.5207, allocations: 28.64 kB / 1.505 GB, free: 12.06 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.5208, allocations: 32 kB / 1.505 GB, free: 12.03 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.5214, allocations: 420.4 kB / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5215, allocations: 0 / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5215, allocations: 15.94 kB / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.5215, allocations: 16 kB / 1.505 GB, free: 11.55 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.5221, allocations: 257.7 kB / 1.505 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.5238, allocations: 1.323 MB / 1.507 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.5242, allocations: 198.3 kB / 1.507 GB, free: 9.699 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.5244, allocations: 108.8 kB / 1.507 GB, free: 9.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/0.5251, allocations: 123.9 kB / 1.507 GB, free: 9.469 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.5251, allocations: 34.56 kB / 1.507 GB, free: 9.426 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.5251, allocations: 0 / 1.507 GB, free: 9.426 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0008984/0.526, allocations: 360 kB / 1.507 GB, free: 9.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.5261, allocations: 55.34 kB / 1.507 GB, free: 9.004 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.5265, allocations: 425.9 kB / 1.508 GB, free: 8.582 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.5266, allocations: 25.7 kB / 1.508 GB, free: 8.551 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5267, allocations: 220.5 kB / 1.508 GB, free: 8.328 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.5268, allocations: 95.14 kB / 1.508 GB, free: 8.234 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.5269, allocations: 49.7 kB / 1.508 GB, free: 8.18 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5271, allocations: 358.7 kB / 1.509 GB, free: 7.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.5273, allocations: 71.95 kB / 1.509 GB, free: 7.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.5275, allocations: 175.9 kB / 1.509 GB, free: 7.555 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.5279, allocations: 213.4 kB / 1.509 GB, free: 7.336 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5279, allocations: 0 / 1.509 GB, free: 7.336 MB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005429/0.5285, allocations: 286.7 kB / 1.509 GB, free: 7.051 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5285, allocations: 4 kB / 1.509 GB, free: 7.047 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5285, allocations: 4 kB / 1.509 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5285, allocations: 0 / 1.509 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.5288, allocations: 59.84 kB / 1.509 GB, free: 6.984 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5288, allocations: 4 kB / 1.509 GB, free: 6.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.529, allocations: 35.8 kB / 1.509 GB, free: 6.945 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.529, allocations: 8 kB / 1.509 GB, free: 6.938 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.0001755/0.5292, allocations: 161.8 kB / 1.51 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.5293, allocations: 43.72 kB / 1.51 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.5299, allocations: 292.3 kB / 1.51 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5299, allocations: 3.938 kB / 1.51 GB, free: 6.43 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5299, allocations: 0 / 1.51 GB, free: 6.43 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5299, allocations: 7.984 kB / 1.51 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.5311, allocations: 0.742 MB / 1.511 GB, free: 5.613 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5311, allocations: 0 / 1.511 GB, free: 5.613 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.5314, allocations: 43.97 kB / 1.511 GB, free: 5.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5314, allocations: 4 kB / 1.511 GB, free: 5.566 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.5314, allocations: 8.188 kB / 1.511 GB, free: 5.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.5314, allocations: 7.938 kB / 1.511 GB, free: 5.551 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5314, allocations: 4 kB / 1.511 GB, free: 5.547 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.5322, allocations: 0.5039 MB / 1.511 GB, free: 5.008 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.5324, allocations: 67.67 kB / 1.511 GB, free: 4.941 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.5324, allocations: 11.98 kB / 1.511 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.5327, allocations: 19.86 kB / 1.511 GB, free: 4.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.5328, allocations: 27.91 kB / 1.511 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.5328, allocations: 8 kB / 1.511 GB, free: 4.875 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003296/0.5331, allocations: 303.1 kB / 1.512 GB, free: 4.582 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5331, allocations: 0 / 1.512 GB, free: 4.582 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004465/0.5336, allocations: 119.8 kB / 1.512 GB, free: 4.465 MB / 1.201 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.001297/0.5348, allocations: 1.107 MB / 1.513 GB, free: 3.312 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004904/0.5353, allocations: 204.1 kB / 1.513 GB, free: 3.113 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5353, allocations: 0 / 1.513 GB, free: 3.113 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.5356, allocations: 112.2 kB / 1.513 GB, free: 3.004 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.5367, allocations: 229.7 kB / 1.513 GB, free: 2.785 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.5415, allocations: 3.7 MB / 1.517 GB, free: 14.95 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.5417, allocations: 224 kB / 1.517 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002632/0.542, allocations: 87.33 kB / 1.517 GB, free: 14.62 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5422, allocations: 131.4 kB / 1.517 GB, free: 14.49 MB / 1.217 GB Notification: Performance of SimCode: time 4.1e-07/0.5422, allocations: 4 kB / 1.517 GB, free: 14.49 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.5794, allocations: 13.19 MB / 1.53 GB, free: 1.66 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.65, allocations: 11.03 kB / 1.53 GB, free: 1.656 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.238898550975136]