Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 443.5 MB / 0.7304 GB, free: 14.11 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 67.89 kB / 1.059 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6583/0.9145, allocations: 174.6 MB / 1.386 GB, free: 5.316 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.9178, allocations: 2.312 MB / 1.388 GB, free: 3.691 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.918, allocations: 12.69 kB / 1.388 GB, free: 3.688 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.9186, allocations: 240.4 kB / 1.389 GB, free: 3.539 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.9204, allocations: 0.9755 MB / 1.39 GB, free: 2.855 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.922, allocations: 0.8333 MB / 1.39 GB, free: 2.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.923, allocations: 0.9772 MB / 1.391 GB, free: 1.688 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.9234, allocations: 273.2 kB / 1.392 GB, free: 1.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.924, allocations: 466.5 kB / 1.392 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.9244, allocations: 325.2 kB / 1.392 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.9244, allocations: 36.28 kB / 1.392 GB, free: 1.047 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.9259, allocations: 1.057 MB / 1.393 GB, free: 448 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.9261, allocations: 147.9 kB / 1.394 GB, free: 344 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.9263, allocations: 235.2 kB / 1.394 GB, free: 196 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.9274, allocations: 0.9091 MB / 1.395 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9274, allocations: 5.312 kB / 1.395 GB, free: 15.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9274, allocations: 0 / 1.395 GB, free: 15.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9274, allocations: 4 kB / 1.395 GB, free: 15.63 MB / 1.076 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.001182/0.9286, allocations: 0.8158 MB / 1.395 GB, free: 14.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.9286, allocations: 9.625 kB / 1.395 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.685e-05/0.9287, allocations: 69.25 kB / 1.395 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.9299, allocations: 191.5 kB / 1.396 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.9304, allocations: 391.9 kB / 1.396 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.9304, allocations: 20.31 kB / 1.396 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.9305, allocations: 36.64 kB / 1.396 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.9311, allocations: 364 kB / 1.396 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.9311, allocations: 5.25 kB / 1.396 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.9311, allocations: 10.56 kB / 1.396 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.9311, allocations: 21.7 kB / 1.396 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.9316, allocations: 255.8 kB / 1.397 GB, free: 14.02 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.9334, allocations: 1.674 MB / 1.398 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.9338, allocations: 193 kB / 1.399 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.934, allocations: 107.6 kB / 1.399 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.935, allocations: 0.8737 MB / 1.4 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.935, allocations: 31.69 kB / 1.4 GB, free: 11.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.935, allocations: 5.375 kB / 1.4 GB, free: 11.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0008374/0.9358, allocations: 360.2 kB / 1.4 GB, free: 11.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.9359, allocations: 54.09 kB / 1.4 GB, free: 11.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.9363, allocations: 419.9 kB / 1.4 GB, free: 10.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.9363, allocations: 34.95 kB / 1.4 GB, free: 10.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.9365, allocations: 218.7 kB / 1.401 GB, free: 10.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.9366, allocations: 84.67 kB / 1.401 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.9367, allocations: 54.19 kB / 1.401 GB, free: 10.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9368, allocations: 352.9 kB / 1.401 GB, free: 10.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.937, allocations: 77.86 kB / 1.401 GB, free: 10.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.9372, allocations: 123.4 kB / 1.401 GB, free: 9.988 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.9376, allocations: 207.3 kB / 1.401 GB, free: 9.871 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9376, allocations: 4.75 kB / 1.401 GB, free: 9.867 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005254/0.9381, allocations: 286.9 kB / 1.402 GB, free: 9.715 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.9382, allocations: 4.031 kB / 1.402 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.9382, allocations: 6.062 kB / 1.402 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9382, allocations: 1.938 kB / 1.402 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.9384, allocations: 55.84 kB / 1.402 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.9384, allocations: 1.5 kB / 1.402 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.9386, allocations: 36.95 kB / 1.402 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.9387, allocations: 9.375 kB / 1.402 GB, free: 9.668 MB / 1.076 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.0001759/0.9388, allocations: 164.5 kB / 1.402 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.9389, allocations: 45.09 kB / 1.402 GB, free: 9.496 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.9395, allocations: 281.5 kB / 1.402 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.9395, allocations: 4.125 kB / 1.402 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9395, allocations: 0 / 1.402 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.9395, allocations: 9.297 kB / 1.402 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.9406, allocations: 0.8138 MB / 1.403 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9406, allocations: 1.375 kB / 1.403 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.9409, allocations: 51.66 kB / 1.403 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.9409, allocations: 2.75 kB / 1.403 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.9409, allocations: 4.312 kB / 1.403 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9409, allocations: 6.75 kB / 1.403 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9409, allocations: 4.875 kB / 1.403 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.9416, allocations: 0.5105 MB / 1.404 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.9418, allocations: 148.4 kB / 1.404 GB, free: 8.148 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.9418, allocations: 7.906 kB / 1.404 GB, free: 8.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.9421, allocations: 15.58 kB / 1.404 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.9422, allocations: 24.53 kB / 1.404 GB, free: 8.121 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.9422, allocations: 7.969 kB / 1.404 GB, free: 8.121 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003029/0.9425, allocations: 303.8 kB / 1.404 GB, free: 7.938 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9425, allocations: 0 / 1.404 GB, free: 7.938 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004001/0.9429, allocations: 117.5 kB / 1.404 GB, free: 7.914 MB / 1.076 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.001315/0.9442, allocations: 1.145 MB / 1.405 GB, free: 6.977 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.9446, allocations: 206.3 kB / 1.406 GB, free: 6.887 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.9446, allocations: 5.562 kB / 1.406 GB, free: 6.883 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.9448, allocations: 103.2 kB / 1.406 GB, free: 6.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.9459, allocations: 223.7 kB / 1.406 GB, free: 6.734 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.9502, allocations: 3.694 MB / 1.41 GB, free: 4.152 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.9506, allocations: 0.8217 MB / 1.41 GB, free: 3.395 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000218/0.9508, allocations: 82.59 kB / 1.41 GB, free: 3.359 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.951, allocations: 139.8 kB / 1.411 GB, free: 3.246 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.951, allocations: 0 / 1.411 GB, free: 3.246 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.9868, allocations: 12.18 MB / 1.422 GB, free: 11.83 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.654, allocations: 2.344 kB / 1.422 GB, free: 11.83 MB / 1.092 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.V_flow from file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.dp in file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.dp from file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.v in file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.v from file Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.800961670996912]