Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001346/0.001346, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001663/0.001663, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.8 MB / 0.7715 GB, free: 3.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_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.002028/0.002028, allocations: 64.19 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1963/0.5864, allocations: 153.3 MB / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005547/0.592, allocations: 2.176 MB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.5926, allocations: 19.81 kB / 1.436 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.5935, allocations: 226.4 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.5959, allocations: 0.9451 MB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.5982, allocations: 0.8485 MB / 1.438 GB, free: 12.6 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.5997, allocations: 0.9896 MB / 1.439 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.6002, allocations: 260 kB / 1.439 GB, free: 11.35 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008404/0.601, allocations: 478.3 kB / 1.44 GB, free: 10.88 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.6015, allocations: 330.6 kB / 1.44 GB, free: 10.55 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.6015, allocations: 36 kB / 1.44 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.6034, allocations: 0.8336 MB / 1.441 GB, free: 9.684 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.6036, allocations: 147.5 kB / 1.441 GB, free: 9.539 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.6038, allocations: 203.1 kB / 1.441 GB, free: 9.34 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.6054, allocations: 0.8871 MB / 1.442 GB, free: 8.453 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6054, allocations: 0 / 1.442 GB, free: 8.453 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6054, allocations: 4 kB / 1.442 GB, free: 8.449 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.6054, allocations: 0 / 1.442 GB, free: 8.449 MB / 1.139 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.001341/0.6067, allocations: 0.73 MB / 1.443 GB, free: 7.688 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6068, allocations: 16.02 kB / 1.443 GB, free: 7.672 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.969e-05/0.6068, allocations: 12.59 kB / 1.443 GB, free: 7.656 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.6069, allocations: 70.48 kB / 1.443 GB, free: 7.578 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.6081, allocations: 187.4 kB / 1.443 GB, free: 7.395 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.6088, allocations: 327.9 kB / 1.443 GB, free: 7.047 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.6088, allocations: 28.66 kB / 1.443 GB, free: 7.02 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.6089, allocations: 31.95 kB / 1.443 GB, free: 6.988 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.6096, allocations: 424.3 kB / 1.444 GB, free: 6.531 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6096, allocations: 3.938 kB / 1.444 GB, free: 6.527 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.6096, allocations: 19.94 kB / 1.444 GB, free: 6.508 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.6096, allocations: 8 kB / 1.444 GB, free: 6.5 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000512/0.6102, allocations: 257.8 kB / 1.444 GB, free: 6.25 MB / 1.139 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.001755/0.6119, allocations: 1.32 MB / 1.445 GB, free: 4.863 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.6123, allocations: 194.4 kB / 1.445 GB, free: 4.664 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.6125, allocations: 108.8 kB / 1.446 GB, free: 4.555 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/0.6132, allocations: 127.9 kB / 1.446 GB, free: 4.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.6132, allocations: 42.5 kB / 1.446 GB, free: 4.379 MB / 1.139 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.6132, allocations: 0 / 1.446 GB, free: 4.379 MB / 1.139 GB Notification: Performance of matching and sorting (n=23): time 0.0008978/0.6141, allocations: 355.1 kB / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.6142, allocations: 51.41 kB / 1.446 GB, free: 3.965 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.6147, allocations: 429.9 kB / 1.447 GB, free: 3.539 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6147, allocations: 29.7 kB / 1.447 GB, free: 3.504 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.6149, allocations: 216.4 kB / 1.447 GB, free: 3.285 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.6149, allocations: 83.27 kB / 1.447 GB, free: 3.203 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.615, allocations: 53.66 kB / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6152, allocations: 358.7 kB / 1.447 GB, free: 2.785 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.6154, allocations: 76.06 kB / 1.447 GB, free: 2.711 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.6157, allocations: 186.6 kB / 1.448 GB, free: 2.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.6161, allocations: 214.7 kB / 1.448 GB, free: 2.285 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6161, allocations: 0 / 1.448 GB, free: 2.285 MB / 1.139 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005195/0.6166, allocations: 281.2 kB / 1.448 GB, free: 2.004 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6166, allocations: 4 kB / 1.448 GB, free: 2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6166, allocations: 4 kB / 1.448 GB, free: 1.996 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6166, allocations: 0 / 1.448 GB, free: 1.996 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.6169, allocations: 63.84 kB / 1.448 GB, free: 1.934 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.6169, allocations: 8.031 kB / 1.448 GB, free: 1.926 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.6171, allocations: 35.72 kB / 1.448 GB, free: 1.891 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.6171, allocations: 8 kB / 1.448 GB, free: 1.883 MB / 1.139 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.0001875/0.6173, allocations: 163.1 kB / 1.448 GB, free: 1.715 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.6174, allocations: 43.72 kB / 1.448 GB, free: 1.672 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/0.618, allocations: 285.3 kB / 1.449 GB, free: 1.383 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.618, allocations: 3.938 kB / 1.449 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.618, allocations: 0 / 1.449 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.618, allocations: 7.984 kB / 1.449 GB, free: 1.371 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.6192, allocations: 0.7364 MB / 1.449 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6192, allocations: 3.938 kB / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.6195, allocations: 47.91 kB / 1.449 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6195, allocations: 4.188 kB / 1.449 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.6195, allocations: 8 kB / 1.449 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6195, allocations: 4 kB / 1.449 GB, free: 0.5 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6195, allocations: 4 kB / 1.449 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008352/0.6203, allocations: 0.5119 MB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.6205, allocations: 71.66 kB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.6205, allocations: 8 kB / 1.45 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.6208, allocations: 19.98 kB / 1.45 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.6209, allocations: 19.91 kB / 1.45 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.6209, allocations: 16 kB / 1.45 GB, free: 15.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003415/0.6212, allocations: 299.1 kB / 1.45 GB, free: 15.53 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6212, allocations: 0 / 1.45 GB, free: 15.53 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004749/0.6217, allocations: 119.8 kB / 1.45 GB, free: 15.41 MB / 1.154 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.001405/0.6231, allocations: 1.122 MB / 1.451 GB, free: 14.25 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.6236, allocations: 195.7 kB / 1.452 GB, free: 14.06 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6236, allocations: 0 / 1.452 GB, free: 14.06 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.6238, allocations: 118.4 kB / 1.452 GB, free: 13.95 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.6249, allocations: 227.5 kB / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.6302, allocations: 3.691 MB / 1.456 GB, free: 9.902 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.6305, allocations: 220 kB / 1.456 GB, free: 9.664 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004362/0.6309, allocations: 91.28 kB / 1.456 GB, free: 9.574 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.6311, allocations: 139.4 kB / 1.456 GB, free: 9.438 MB / 1.154 GB Notification: Performance of SimCode: time 8.02e-07/0.6311, allocations: 0 / 1.456 GB, free: 9.438 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.6737, allocations: 13.19 MB / 1.469 GB, free: 12.65 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.37, allocations: 3.938 kB / 1.469 GB, free: 12.65 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.724879493005574]