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.001301/0.001301, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002308/0.002308, allocations: 219.6 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.247/3.247, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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="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.001916/0.001916, allocations: 69.16 kB / 1.171 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 179 MB / 1.345 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2194/0.5645, allocations: 177.6 MB / 1.519 GB, free: 14.28 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.5686, allocations: 2.312 MB / 1.521 GB, free: 11.96 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003068/0.5689, allocations: 23.81 kB / 1.521 GB, free: 11.94 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.5696, allocations: 238.3 kB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.5718, allocations: 0.9801 MB / 1.522 GB, free: 10.72 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.5739, allocations: 0.8616 MB / 1.523 GB, free: 9.863 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.5751, allocations: 0.9702 MB / 1.524 GB, free: 8.891 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.5756, allocations: 267.4 kB / 1.524 GB, free: 8.625 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.5767, allocations: 0.619 MB / 1.525 GB, free: 8.004 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.5772, allocations: 326.6 kB / 1.525 GB, free: 7.684 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.5772, allocations: 32 kB / 1.525 GB, free: 7.652 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.579, allocations: 1.06 MB / 1.526 GB, free: 6.59 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.5792, allocations: 155.5 kB / 1.526 GB, free: 6.438 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.5794, allocations: 238.8 kB / 1.527 GB, free: 6.203 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.5807, allocations: 0.9033 MB / 1.527 GB, free: 5.297 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5807, allocations: 4 kB / 1.527 GB, free: 5.293 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5807, allocations: 4 kB / 1.527 GB, free: 5.289 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5807, allocations: 3.938 kB / 1.527 GB, free: 5.285 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.001294/0.582, allocations: 0.7415 MB / 1.528 GB, free: 4.512 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5821, allocations: 16.03 kB / 1.528 GB, free: 4.496 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.5821, allocations: 8.656 kB / 1.528 GB, free: 4.484 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.67e-05/0.5822, allocations: 70.47 kB / 1.528 GB, free: 4.406 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5834, allocations: 171.5 kB / 1.528 GB, free: 4.238 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.584, allocations: 331.8 kB / 1.529 GB, free: 3.887 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.584, allocations: 28.66 kB / 1.529 GB, free: 3.859 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.5841, allocations: 31.98 kB / 1.529 GB, free: 3.828 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.5848, allocations: 372.9 kB / 1.529 GB, free: 3.438 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5848, allocations: 7.938 kB / 1.529 GB, free: 3.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.5848, allocations: 15.94 kB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.5848, allocations: 12 kB / 1.529 GB, free: 3.402 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.5854, allocations: 257.7 kB / 1.529 GB, free: 3.148 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.5873, allocations: 1.633 MB / 1.531 GB, free: 1.387 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.5877, allocations: 194.5 kB / 1.531 GB, free: 1.188 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.588, allocations: 112.7 kB / 1.531 GB, free: 1.074 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.5886, allocations: 127.9 kB / 1.531 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.5887, allocations: 34.56 kB / 1.532 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.5887, allocations: 0 / 1.532 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of matching and sorting (n=23): time 0.0009162/0.5896, allocations: 356.2 kB / 1.532 GB, free: 0.5547 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5896, allocations: 63.34 kB / 1.532 GB, free: 492 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004832/0.5901, allocations: 421.9 kB / 1.532 GB, free: 64 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.5902, allocations: 33.7 kB / 1.532 GB, free: 24 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.5903, allocations: 208.4 kB / 1.533 GB, free: 15.81 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.5904, allocations: 95.2 kB / 1.533 GB, free: 15.72 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.5905, allocations: 49.7 kB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.5907, allocations: 350.7 kB / 1.533 GB, free: 15.31 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5909, allocations: 87.94 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.5911, allocations: 116.5 kB / 1.533 GB, free: 15.1 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.5915, allocations: 209.5 kB / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5916, allocations: 4 kB / 1.533 GB, free: 14.88 MB / 1.232 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005434/0.5921, allocations: 289.2 kB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5921, allocations: 4 kB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5921, allocations: 4 kB / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5921, allocations: 0 / 1.534 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.5924, allocations: 59.84 kB / 1.534 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.5924, allocations: 4.109 kB / 1.534 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.5926, allocations: 35.7 kB / 1.534 GB, free: 14.49 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.5926, allocations: 12.03 kB / 1.534 GB, free: 14.48 MB / 1.232 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.0001798/0.5928, allocations: 161.8 kB / 1.534 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.5929, allocations: 43.72 kB / 1.534 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.5935, allocations: 285.2 kB / 1.534 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5935, allocations: 7.938 kB / 1.534 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5935, allocations: 0 / 1.534 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5935, allocations: 0 / 1.534 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.5948, allocations: 0.7793 MB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5948, allocations: 8.188 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.595, allocations: 43.97 kB / 1.535 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.595, allocations: 4 kB / 1.535 GB, free: 13.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5951, allocations: 4 kB / 1.535 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.5951, allocations: 7.938 kB / 1.535 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5951, allocations: 0 / 1.535 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.5959, allocations: 0.5158 MB / 1.536 GB, free: 12.51 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.596, allocations: 67.67 kB / 1.536 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.5961, allocations: 15.98 kB / 1.536 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.5964, allocations: 23.92 kB / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.5964, allocations: 23.91 kB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.5964, allocations: 4 kB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003411/0.5968, allocations: 303.1 kB / 1.536 GB, free: 12.08 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5968, allocations: 0 / 1.536 GB, free: 12.08 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004659/0.5972, allocations: 115.8 kB / 1.536 GB, free: 11.97 MB / 1.232 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.001329/0.5986, allocations: 1.107 MB / 1.537 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.5991, allocations: 206.1 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5991, allocations: 0 / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.5993, allocations: 107.8 kB / 1.538 GB, free: 10.51 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.6005, allocations: 237.2 kB / 1.538 GB, free: 10.29 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.6059, allocations: 3.695 MB / 1.541 GB, free: 6.457 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.6063, allocations: 0.8233 MB / 1.542 GB, free: 5.609 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.6067, allocations: 83.36 kB / 1.542 GB, free: 5.527 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.6069, allocations: 143.4 kB / 1.542 GB, free: 5.387 MB / 1.232 GB Notification: Performance of SimCode: time 1.122e-06/0.6069, allocations: 4 kB / 1.542 GB, free: 5.383 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.6438, allocations: 12.39 MB / 1.554 GB, free: 9.25 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.33, allocations: 16.62 kB / 1.554 GB, free: 9.238 MB / 1.248 GB " [Timeout remaining time 288] (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.239067974034697]