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.001684/0.001684, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001952/0.001952, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.912/2.912, allocations: 0.5003 GB / 0.8026 GB, free: 6.898 MB / 0.6387 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.001966/0.001966, allocations: 71.89 kB / 1.165 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8679, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2226/1.09, allocations: 177.3 MB / 1.513 GB, free: 6.855 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.004404/1.095, allocations: 2.308 MB / 1.516 GB, free: 4.543 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005405/1.095, allocations: 19.88 kB / 1.516 GB, free: 4.523 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008202/1.096, allocations: 242.3 kB / 1.516 GB, free: 4.285 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/1.099, allocations: 0.9606 MB / 1.517 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/1.101, allocations: 0.8453 MB / 1.518 GB, free: 2.477 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001649/1.103, allocations: 0.9546 MB / 1.519 GB, free: 1.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/1.103, allocations: 285 kB / 1.519 GB, free: 1.238 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/1.105, allocations: 0.6033 MB / 1.519 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/1.105, allocations: 326.7 kB / 1.52 GB, free: 320 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/1.105, allocations: 32 kB / 1.52 GB, free: 288 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/1.107, allocations: 1.048 MB / 1.521 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/1.107, allocations: 143.5 kB / 1.521 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/1.108, allocations: 242.7 kB / 1.521 GB, free: 14.85 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/1.109, allocations: 0.8994 MB / 1.522 GB, free: 13.95 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.109, allocations: 0 / 1.522 GB, free: 13.95 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.293e-06/1.109, allocations: 0 / 1.522 GB, free: 13.95 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.238e-06/1.109, allocations: 3.938 kB / 1.522 GB, free: 13.95 MB / 1.201 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.001433/1.111, allocations: 0.8247 MB / 1.523 GB, free: 13.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.111, allocations: 12.03 kB / 1.523 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.81e-05/1.111, allocations: 4.656 kB / 1.523 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.148e-05/1.111, allocations: 74.47 kB / 1.523 GB, free: 12.97 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.112, allocations: 179.5 kB / 1.523 GB, free: 12.79 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/1.113, allocations: 405.6 kB / 1.523 GB, free: 12.36 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/1.113, allocations: 20.66 kB / 1.523 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/1.113, allocations: 32 kB / 1.523 GB, free: 12.31 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/1.114, allocations: 365.1 kB / 1.524 GB, free: 11.93 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.114, allocations: 8 kB / 1.524 GB, free: 11.92 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/1.114, allocations: 15.94 kB / 1.524 GB, free: 11.91 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/1.114, allocations: 8 kB / 1.524 GB, free: 11.9 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/1.114, allocations: 258 kB / 1.524 GB, free: 11.65 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/1.116, allocations: 1.676 MB / 1.526 GB, free: 9.836 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/1.117, allocations: 190.5 kB / 1.526 GB, free: 9.641 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/1.117, allocations: 108.7 kB / 1.526 GB, free: 9.531 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.118, allocations: 0.874 MB / 1.527 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.118, allocations: 30.56 kB / 1.527 GB, free: 8.434 MB / 1.201 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/1.118, allocations: 4 kB / 1.527 GB, free: 8.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=23): time 0.0009605/1.119, allocations: 363.5 kB / 1.527 GB, free: 8.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.119, allocations: 59.34 kB / 1.527 GB, free: 8 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/1.12, allocations: 418 kB / 1.528 GB, free: 7.586 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.12, allocations: 33.64 kB / 1.528 GB, free: 7.547 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.12, allocations: 220.4 kB / 1.528 GB, free: 7.328 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/1.12, allocations: 87.22 kB / 1.528 GB, free: 7.242 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/1.12, allocations: 53.7 kB / 1.528 GB, free: 7.184 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.12, allocations: 350.7 kB / 1.528 GB, free: 6.832 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/1.12, allocations: 79.94 kB / 1.529 GB, free: 6.754 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/1.121, allocations: 124.1 kB / 1.529 GB, free: 6.621 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/1.121, allocations: 207.3 kB / 1.529 GB, free: 6.406 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.121, allocations: 0 / 1.529 GB, free: 6.406 MB / 1.201 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005701/1.122, allocations: 287.2 kB / 1.529 GB, free: 6.121 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.122, allocations: 8.172 kB / 1.529 GB, free: 6.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.122, allocations: 7.938 kB / 1.529 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.122, allocations: 0 / 1.529 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/1.122, allocations: 59.84 kB / 1.529 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.122, allocations: 4 kB / 1.529 GB, free: 6.043 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/1.122, allocations: 23.78 kB / 1.529 GB, free: 6.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/1.122, allocations: 12 kB / 1.529 GB, free: 6.008 MB / 1.201 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.0001884/1.122, allocations: 165.8 kB / 1.529 GB, free: 5.836 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/1.122, allocations: 47.72 kB / 1.529 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006312/1.123, allocations: 285.1 kB / 1.53 GB, free: 5.5 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.123, allocations: 7.938 kB / 1.53 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.123, allocations: 0 / 1.53 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.123, allocations: 0 / 1.53 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/1.124, allocations: 0.8076 MB / 1.53 GB, free: 4.609 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.124, allocations: 0 / 1.53 GB, free: 4.609 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/1.125, allocations: 43.97 kB / 1.531 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.125, allocations: 4 kB / 1.531 GB, free: 4.562 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.125, allocations: 8.188 kB / 1.531 GB, free: 4.555 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.125, allocations: 7.938 kB / 1.531 GB, free: 4.547 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.125, allocations: 4 kB / 1.531 GB, free: 4.543 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/1.126, allocations: 0.5109 MB / 1.531 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/1.126, allocations: 153 kB / 1.531 GB, free: 3.832 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.126, allocations: 7.938 kB / 1.531 GB, free: 3.824 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/1.126, allocations: 15.98 kB / 1.531 GB, free: 3.809 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/1.126, allocations: 23.91 kB / 1.531 GB, free: 3.785 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/1.126, allocations: 12 kB / 1.531 GB, free: 3.773 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003557/1.126, allocations: 299.1 kB / 1.532 GB, free: 3.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 0 / 1.532 GB, free: 3.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004697/1.127, allocations: 123.8 kB / 1.532 GB, free: 3.359 MB / 1.201 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.001411/1.128, allocations: 1.114 MB / 1.533 GB, free: 2.203 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005136/1.129, allocations: 199.7 kB / 1.533 GB, free: 2.008 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.129, allocations: 0 / 1.533 GB, free: 2.008 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/1.129, allocations: 112.2 kB / 1.533 GB, free: 1.898 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.13, allocations: 222.8 kB / 1.533 GB, free: 1.684 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/1.136, allocations: 3.707 MB / 1.537 GB, free: 13.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/1.136, allocations: 0.8194 MB / 1.538 GB, free: 12.99 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003151/1.137, allocations: 83.34 kB / 1.538 GB, free: 12.91 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.137, allocations: 143.4 kB / 1.538 GB, free: 12.77 MB / 1.217 GB Notification: Performance of SimCode: time 7.71e-07/1.137, allocations: 0 / 1.538 GB, free: 12.77 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/1.171, allocations: 12.16 MB / 1.55 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.915/10.09, allocations: 10.25 kB / 1.55 GB, free: 0.832 MB / 1.217 GB " [Timeout remaining time 290] (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: 16.46639417100232]