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.001214/0.001214, 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.001449/0.001449, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.805 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.124/3.124, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002041/0.002041, allocations: 66.95 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.187/0.5044, allocations: 153.5 MB / 1.513 GB, free: 4.039 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.5089, allocations: 2.312 MB / 1.516 GB, free: 1.723 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.5095, allocations: 15.88 kB / 1.516 GB, free: 1.707 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.5103, allocations: 230.3 kB / 1.516 GB, free: 1.48 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.5129, allocations: 0.9801 MB / 1.517 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.5152, allocations: 0.8383 MB / 1.518 GB, free: 15.66 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.5167, allocations: 0.9894 MB / 1.519 GB, free: 14.67 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.5172, allocations: 263.5 kB / 1.519 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.5185, allocations: 0.6267 MB / 1.519 GB, free: 13.78 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.519, allocations: 306.6 kB / 1.52 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.625e-05/0.5191, allocations: 36 kB / 1.52 GB, free: 13.44 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.5207, allocations: 0.8453 MB / 1.521 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.5209, allocations: 151.5 kB / 1.521 GB, free: 12.45 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.5212, allocations: 207 kB / 1.521 GB, free: 12.24 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.5228, allocations: 0.9188 MB / 1.522 GB, free: 11.32 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5228, allocations: 4 kB / 1.522 GB, free: 11.32 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5228, allocations: 0 / 1.522 GB, free: 11.32 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.5228, 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.00143/0.5242, allocations: 0.7493 MB / 1.522 GB, free: 10.54 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5243, allocations: 8.031 kB / 1.523 GB, free: 10.53 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.698e-05/0.5243, allocations: 78.47 kB / 1.523 GB, free: 10.44 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.526, allocations: 227.3 kB / 1.523 GB, free: 10.22 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007542/0.5268, allocations: 339.9 kB / 1.523 GB, free: 9.863 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.5268, allocations: 20.66 kB / 1.523 GB, free: 9.844 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.5269, allocations: 39.95 kB / 1.523 GB, free: 9.805 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/0.5277, allocations: 452.3 kB / 1.524 GB, free: 9.324 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5277, allocations: 0 / 1.524 GB, free: 9.324 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.5278, allocations: 15.94 kB / 1.524 GB, free: 9.309 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.5278, allocations: 8 kB / 1.524 GB, free: 9.301 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.5286, allocations: 313.7 kB / 1.524 GB, free: 8.992 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.5307, allocations: 1.371 MB / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.5314, allocations: 270.2 kB / 1.526 GB, free: 7.281 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.5317, allocations: 132.7 kB / 1.526 GB, free: 7.148 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.5322, allocations: 75.91 kB / 1.526 GB, free: 7.074 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5322, allocations: 38.56 kB / 1.526 GB, free: 7.027 MB / 1.217 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.5322, allocations: 0 / 1.526 GB, free: 7.027 MB / 1.217 GB Notification: Performance of matching and sorting (n=23): time 0.001277/0.5335, allocations: 431.3 kB / 1.526 GB, free: 6.602 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.5336, allocations: 51.41 kB / 1.526 GB, free: 6.539 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.5341, allocations: 425.9 kB / 1.527 GB, free: 6.113 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.5341, allocations: 33.7 kB / 1.527 GB, free: 6.074 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.5343, allocations: 212.4 kB / 1.527 GB, free: 5.863 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.5344, allocations: 99.2 kB / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.5345, allocations: 45.7 kB / 1.527 GB, free: 5.715 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5347, allocations: 358.7 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.535, allocations: 107.9 kB / 1.527 GB, free: 5.25 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.5354, allocations: 202.7 kB / 1.528 GB, free: 5.027 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.536, allocations: 253 kB / 1.528 GB, free: 4.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.536, allocations: 0 / 1.528 GB, free: 4.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007974/0.5368, allocations: 341.1 kB / 1.528 GB, free: 4.43 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5368, allocations: 4 kB / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5368, allocations: 4.031 kB / 1.528 GB, free: 4.422 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.5368, allocations: 4 kB / 1.528 GB, free: 4.418 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.5372, allocations: 55.91 kB / 1.528 GB, free: 4.363 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.5372, allocations: 7.922 kB / 1.528 GB, free: 4.355 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.5375, allocations: 39.77 kB / 1.528 GB, free: 4.316 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.5375, allocations: 12.11 kB / 1.528 GB, free: 4.305 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.0002257/0.5378, allocations: 165.7 kB / 1.528 GB, free: 4.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.5379, allocations: 47.72 kB / 1.529 GB, free: 4.086 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.5387, allocations: 334.7 kB / 1.529 GB, free: 3.754 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5387, allocations: 0 / 1.529 GB, free: 3.754 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5388, allocations: 3.938 kB / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5388, allocations: 0 / 1.529 GB, free: 3.75 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.5406, allocations: 0.8226 MB / 1.53 GB, free: 2.859 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5406, allocations: 4.094 kB / 1.53 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.5409, allocations: 55.89 kB / 1.53 GB, free: 2.801 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.5409, allocations: 7.984 kB / 1.53 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.5409, allocations: 4 kB / 1.53 GB, free: 2.789 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5409, allocations: 8.188 kB / 1.53 GB, free: 2.781 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5409, allocations: 0 / 1.53 GB, free: 2.781 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.5423, allocations: 0.5906 MB / 1.53 GB, free: 2.156 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.5425, allocations: 79.66 kB / 1.53 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.5426, allocations: 4 kB / 1.53 GB, free: 2.074 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.543, allocations: 31.91 kB / 1.53 GB, free: 2.043 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.543, allocations: 27.84 kB / 1.53 GB, free: 2.016 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.5431, allocations: 11.98 kB / 1.53 GB, free: 2.004 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004225/0.5435, allocations: 307.1 kB / 1.531 GB, free: 1.703 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5435, allocations: 0 / 1.531 GB, free: 1.703 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004921/0.544, allocations: 111.8 kB / 1.531 GB, free: 1.594 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.001795/0.5458, allocations: 1.174 MB / 1.532 GB, free: 388 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007659/0.5465, allocations: 260.1 kB / 1.532 GB, free: 128 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5465, allocations: 0 / 1.532 GB, free: 128 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.5469, allocations: 134.8 kB / 1.532 GB, free: 15.99 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5482, allocations: 232.9 kB / 1.533 GB, free: 15.77 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.5549, allocations: 3.89 MB / 1.536 GB, free: 11.75 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.5551, allocations: 228 kB / 1.537 GB, free: 11.5 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003473/0.5555, allocations: 91.34 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.5557, allocations: 139.4 kB / 1.537 GB, free: 11.27 MB / 1.232 GB Notification: Performance of SimCode: time 4.21e-07/0.5557, allocations: 0 / 1.537 GB, free: 11.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/0.6038, allocations: 14.08 MB / 1.551 GB, free: 13.54 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.71, allocations: 8 kB / 1.551 GB, free: 13.54 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 & 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: 19.270418914034963]