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.00181/0.00181, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002463/0.002463, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.023 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.197/3.197, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.002082/0.002082, allocations: 75.77 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3581, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1976/0.5557, allocations: 153.5 MB / 1.513 GB, free: 4.051 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.5601, allocations: 2.298 MB / 1.516 GB, free: 1.746 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.5605, allocations: 19.81 kB / 1.516 GB, free: 1.727 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.5613, allocations: 230.4 kB / 1.516 GB, free: 1.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.5637, allocations: 0.9762 MB / 1.517 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.5658, allocations: 0.8463 MB / 1.518 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.5671, allocations: 0.9816 MB / 1.519 GB, free: 14.69 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.5676, allocations: 283.3 kB / 1.519 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.5688, allocations: 0.619 MB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.5692, allocations: 302.7 kB / 1.52 GB, free: 13.49 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.5693, allocations: 39.94 kB / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.5709, allocations: 0.8453 MB / 1.521 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.5711, allocations: 155.5 kB / 1.521 GB, free: 12.45 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.5713, allocations: 199.1 kB / 1.521 GB, free: 12.26 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.5727, allocations: 0.9188 MB / 1.522 GB, free: 11.34 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5728, allocations: 3.984 kB / 1.522 GB, free: 11.33 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5728, allocations: 7.938 kB / 1.522 GB, free: 11.32 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.5728, allocations: 0 / 1.522 GB, free: 11.32 MB / 1.217 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.001284/0.574, allocations: 0.7532 MB / 1.523 GB, free: 10.54 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5741, allocations: 8.031 kB / 1.523 GB, free: 10.53 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.906e-05/0.5742, allocations: 70.53 kB / 1.523 GB, free: 10.45 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.5758, allocations: 231.3 kB / 1.523 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.5765, allocations: 335.9 kB / 1.523 GB, free: 9.875 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.5766, allocations: 24.66 kB / 1.523 GB, free: 9.852 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.5766, allocations: 31.95 kB / 1.523 GB, free: 9.82 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008581/0.5775, allocations: 452.3 kB / 1.524 GB, free: 9.34 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5775, allocations: 0 / 1.524 GB, free: 9.34 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.5775, allocations: 19.94 kB / 1.524 GB, free: 9.32 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.5776, allocations: 15.98 kB / 1.524 GB, free: 9.305 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.5784, allocations: 309.7 kB / 1.524 GB, free: 9 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.5804, allocations: 1.355 MB / 1.525 GB, free: 7.578 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.5812, allocations: 270.2 kB / 1.526 GB, free: 7.305 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.5815, allocations: 132.8 kB / 1.526 GB, free: 7.172 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/0.582, allocations: 71.92 kB / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.582, allocations: 34.67 kB / 1.526 GB, free: 7.059 MB / 1.217 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.582, allocations: 3.938 kB / 1.526 GB, free: 7.055 MB / 1.217 GB Notification: Performance of matching and sorting (n=23): time 0.001303/0.5833, allocations: 438.9 kB / 1.526 GB, free: 6.621 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.5834, allocations: 51.41 kB / 1.526 GB, free: 6.559 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.5839, allocations: 429.9 kB / 1.527 GB, free: 6.129 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.5839, allocations: 33.7 kB / 1.527 GB, free: 6.09 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.5841, allocations: 216.4 kB / 1.527 GB, free: 5.875 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.5842, allocations: 83.23 kB / 1.527 GB, free: 5.793 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5843, allocations: 57.69 kB / 1.527 GB, free: 5.73 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.5845, allocations: 354.7 kB / 1.527 GB, free: 5.375 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.5848, allocations: 103.9 kB / 1.527 GB, free: 5.273 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.5852, allocations: 199.7 kB / 1.528 GB, free: 5.055 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.5858, allocations: 257.1 kB / 1.528 GB, free: 4.793 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5859, allocations: 0 / 1.528 GB, free: 4.793 MB / 1.217 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000809/0.5867, allocations: 339.6 kB / 1.528 GB, free: 4.457 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5867, allocations: 4 kB / 1.528 GB, free: 4.453 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5867, allocations: 0 / 1.528 GB, free: 4.453 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5867, allocations: 8.031 kB / 1.528 GB, free: 4.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.5871, allocations: 59.89 kB / 1.528 GB, free: 4.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5871, allocations: 3.938 kB / 1.528 GB, free: 4.383 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.5874, allocations: 39.77 kB / 1.528 GB, free: 4.344 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.5874, allocations: 15.98 kB / 1.528 GB, free: 4.328 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.0002024/0.5876, allocations: 158.4 kB / 1.528 GB, free: 4.164 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.5877, allocations: 47.72 kB / 1.529 GB, free: 4.117 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.5886, allocations: 342.4 kB / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5886, allocations: 3.938 kB / 1.529 GB, free: 3.773 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5886, allocations: 3.938 kB / 1.529 GB, free: 3.77 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.5886, allocations: 7.984 kB / 1.529 GB, free: 3.762 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.5903, allocations: 0.8168 MB / 1.53 GB, free: 2.879 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5903, allocations: 4 kB / 1.53 GB, free: 2.875 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.5906, allocations: 55.89 kB / 1.53 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.5906, allocations: 4 kB / 1.53 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.5906, allocations: 4 kB / 1.53 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5906, allocations: 4.188 kB / 1.53 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.5906, allocations: 7.938 kB / 1.53 GB, free: 2.801 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5919, allocations: 0.5906 MB / 1.53 GB, free: 2.176 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.5921, allocations: 79.58 kB / 1.53 GB, free: 2.098 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.5922, allocations: 8 kB / 1.53 GB, free: 2.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.5925, allocations: 23.98 kB / 1.53 GB, free: 2.066 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.5926, allocations: 31.83 kB / 1.53 GB, free: 2.035 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.5926, allocations: 4 kB / 1.53 GB, free: 2.031 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003917/0.593, allocations: 307.1 kB / 1.531 GB, free: 1.73 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.593, allocations: 0 / 1.531 GB, free: 1.73 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000481/0.5935, allocations: 111.8 kB / 1.531 GB, free: 1.621 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.001928/0.5954, allocations: 1.177 MB / 1.532 GB, free: 412 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007454/0.5962, allocations: 259.5 kB / 1.532 GB, free: 152 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5962, allocations: 0 / 1.532 GB, free: 152 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.5965, allocations: 135.8 kB / 1.532 GB, free: 16 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5977, allocations: 231.8 kB / 1.533 GB, free: 15.79 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.604, allocations: 3.89 MB / 1.536 GB, free: 11.77 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.6043, allocations: 220.1 kB / 1.537 GB, free: 11.53 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003738/0.6047, allocations: 87.34 kB / 1.537 GB, free: 11.44 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.6049, allocations: 143.4 kB / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of SimCode: time 1.242e-06/0.6049, allocations: 0 / 1.537 GB, free: 11.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.6519, allocations: 14.08 MB / 1.551 GB, free: 13.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.48, allocations: 18.34 kB / 1.551 GB, free: 13.56 MB / 1.248 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.16550277173519]