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.00147/0.00147, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001734/0.001734, allocations: 214.5 kB / 22.25 MB, free: 5.129 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.984 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.067/3.067, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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="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.00196/0.00196, allocations: 75.67 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.213/0.568, allocations: 177.6 MB / 1.526 GB, free: 6.18 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00451/0.5726, allocations: 2.458 MB / 1.529 GB, free: 3.715 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.5732, allocations: 15.88 kB / 1.529 GB, free: 3.699 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009424/0.5741, allocations: 246.3 kB / 1.529 GB, free: 3.457 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.5769, allocations: 1.015 MB / 1.53 GB, free: 2.438 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.5792, allocations: 0.8575 MB / 1.531 GB, free: 1.582 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.5809, allocations: 0.9894 MB / 1.532 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.5815, allocations: 271.5 kB / 1.532 GB, free: 328 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.5829, allocations: 0.6189 MB / 1.533 GB, free: 15.7 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.5835, allocations: 326.6 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.5836, allocations: 40 kB / 1.533 GB, free: 15.34 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.5857, allocations: 1.099 MB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.5859, allocations: 159.5 kB / 1.534 GB, free: 14.08 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.5863, allocations: 246.7 kB / 1.534 GB, free: 13.84 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.5882, allocations: 0.95 MB / 1.535 GB, free: 12.89 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5882, allocations: 0 / 1.535 GB, free: 12.89 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5882, allocations: 0 / 1.535 GB, free: 12.89 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.5882, allocations: 0 / 1.535 GB, free: 12.89 MB / 1.232 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.001561/0.5897, allocations: 0.7533 MB / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5898, allocations: 8.031 kB / 1.536 GB, free: 12.09 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.079e-05/0.5899, allocations: 74.47 kB / 1.536 GB, free: 12.01 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5916, allocations: 227.3 kB / 1.536 GB, free: 11.79 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007375/0.5923, allocations: 335.9 kB / 1.537 GB, free: 11.43 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.5923, allocations: 24.64 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.5924, allocations: 36 kB / 1.537 GB, free: 11.38 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.5932, allocations: 404.9 kB / 1.537 GB, free: 10.95 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5932, allocations: 0 / 1.537 GB, free: 10.95 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.5932, allocations: 19.94 kB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.5933, allocations: 19.94 kB / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.594, allocations: 305.7 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.5961, allocations: 1.684 MB / 1.539 GB, free: 8.805 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.5968, allocations: 270.4 kB / 1.539 GB, free: 8.531 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.5971, allocations: 140.6 kB / 1.539 GB, free: 8.391 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/0.5976, allocations: 67.92 kB / 1.54 GB, free: 8.324 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5976, allocations: 38.56 kB / 1.54 GB, free: 8.277 MB / 1.232 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.5976, allocations: 0 / 1.54 GB, free: 8.277 MB / 1.232 GB Notification: Performance of matching and sorting (n=23): time 0.001217/0.5988, allocations: 438 kB / 1.54 GB, free: 7.844 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.5989, allocations: 55.41 kB / 1.54 GB, free: 7.777 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.5993, allocations: 422 kB / 1.54 GB, free: 7.359 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.5994, allocations: 29.7 kB / 1.54 GB, free: 7.324 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5995, allocations: 216.4 kB / 1.541 GB, free: 7.109 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.5996, allocations: 87.25 kB / 1.541 GB, free: 7.023 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.5997, allocations: 53.66 kB / 1.541 GB, free: 6.965 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5999, allocations: 358.8 kB / 1.541 GB, free: 6.605 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.6002, allocations: 111.9 kB / 1.541 GB, free: 6.496 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.6005, allocations: 144.5 kB / 1.541 GB, free: 6.344 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.6011, allocations: 252 kB / 1.542 GB, free: 6.086 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.6011, allocations: 4 kB / 1.542 GB, free: 6.082 MB / 1.232 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007611/0.6018, allocations: 339.4 kB / 1.542 GB, free: 5.746 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6018, allocations: 5.406 kB / 1.542 GB, free: 5.742 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6018, allocations: 0 / 1.542 GB, free: 5.742 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.6019, allocations: 8.031 kB / 1.542 GB, free: 5.734 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.6022, allocations: 59.89 kB / 1.542 GB, free: 5.676 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.6022, allocations: 3.938 kB / 1.542 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.6025, allocations: 47.7 kB / 1.542 GB, free: 5.625 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.6025, allocations: 15.94 kB / 1.542 GB, free: 5.609 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.0001827/0.6027, allocations: 157.8 kB / 1.542 GB, free: 5.445 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.6028, allocations: 47.66 kB / 1.542 GB, free: 5.398 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008045/0.6036, allocations: 346.6 kB / 1.543 GB, free: 5.047 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6036, allocations: 0 / 1.543 GB, free: 5.047 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6036, allocations: 3.938 kB / 1.543 GB, free: 5.043 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6036, allocations: 0 / 1.543 GB, free: 5.043 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.6052, allocations: 0.8693 MB / 1.543 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6052, allocations: 4.188 kB / 1.543 GB, free: 4.102 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.6055, allocations: 55.91 kB / 1.544 GB, free: 4.047 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.6055, allocations: 4 kB / 1.544 GB, free: 4.043 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.6055, allocations: 7.984 kB / 1.544 GB, free: 4.035 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.6055, allocations: 0 / 1.544 GB, free: 4.035 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6055, allocations: 4 kB / 1.544 GB, free: 4.031 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.6067, allocations: 0.5991 MB / 1.544 GB, free: 3.398 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.6068, allocations: 71.66 kB / 1.544 GB, free: 3.328 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.6069, allocations: 8 kB / 1.544 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.6072, allocations: 19.97 kB / 1.544 GB, free: 3.301 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.6073, allocations: 23.91 kB / 1.544 GB, free: 3.277 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.6073, allocations: 8 kB / 1.544 GB, free: 3.27 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003323/0.6076, allocations: 307.1 kB / 1.545 GB, free: 2.973 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6076, allocations: 4 kB / 1.545 GB, free: 2.969 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004357/0.6081, allocations: 111.9 kB / 1.545 GB, free: 2.859 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.001573/0.6096, allocations: 1.18 MB / 1.546 GB, free: 1.637 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.6103, allocations: 263.3 kB / 1.546 GB, free: 1.383 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6103, allocations: 4.062 kB / 1.546 GB, free: 1.379 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.6106, allocations: 127.8 kB / 1.546 GB, free: 1.254 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6117, allocations: 240.3 kB / 1.546 GB, free: 1.023 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.6173, allocations: 3.881 MB / 1.55 GB, free: 13.01 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.6177, allocations: 0.8272 MB / 1.551 GB, free: 12.15 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.618, allocations: 95.33 kB / 1.551 GB, free: 12.05 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.6183, allocations: 139.4 kB / 1.551 GB, free: 11.92 MB / 1.248 GB Notification: Performance of SimCode: time 5.81e-07/0.6183, allocations: 0 / 1.551 GB, free: 11.92 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04248/0.6607, allocations: 12.73 MB / 1.564 GB, free: 15.42 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.29, allocations: 1.875 kB / 1.564 GB, free: 15.42 MB / 1.264 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable ori.V_flow in file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.V_flow from file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.dp in file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.dp from file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.v in file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.v from file Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.93969003700022]