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.001664/0.001664, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00225/0.00225, allocations: 217 kB / 22.25 MB, free: 5.082 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.027 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.805/2.805, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_11_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.002142/0.002142, allocations: 64.34 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3641, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2201/0.5842, allocations: 177.5 MB / 1.457 GB, free: 9.555 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.004058/0.5882, allocations: 2.306 MB / 1.459 GB, free: 7.242 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000551/0.5888, allocations: 23.81 kB / 1.459 GB, free: 7.219 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.5896, allocations: 238.4 kB / 1.459 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.592, allocations: 0.9879 MB / 1.46 GB, free: 5.992 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.5944, allocations: 0.8635 MB / 1.461 GB, free: 5.129 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.5961, allocations: 0.9791 MB / 1.462 GB, free: 4.145 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.5967, allocations: 275 kB / 1.462 GB, free: 3.875 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009302/0.5976, allocations: 474.3 kB / 1.463 GB, free: 3.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.5982, allocations: 326.7 kB / 1.463 GB, free: 3.09 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.5983, allocations: 32 kB / 1.463 GB, free: 3.059 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.6004, allocations: 1.079 MB / 1.464 GB, free: 1.977 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.6006, allocations: 151.5 kB / 1.464 GB, free: 1.828 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.6009, allocations: 238.8 kB / 1.464 GB, free: 1.594 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.6026, allocations: 0.9038 MB / 1.465 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6026, allocations: 0 / 1.465 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.506e-06/0.6026, allocations: 3.984 kB / 1.465 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.6026, allocations: 0 / 1.465 GB, free: 0.6836 MB / 1.154 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.001388/0.604, allocations: 0.7455 MB / 1.466 GB, free: 15.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.604, allocations: 12.03 kB / 1.466 GB, free: 15.89 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.778e-05/0.6041, allocations: 62.53 kB / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.6054, allocations: 195.4 kB / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.6061, allocations: 327.9 kB / 1.467 GB, free: 15.29 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.6061, allocations: 20.66 kB / 1.467 GB, free: 15.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.6062, allocations: 39.95 kB / 1.467 GB, free: 15.23 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.6069, allocations: 369 kB / 1.467 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6069, allocations: 0 / 1.467 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.6069, allocations: 15.94 kB / 1.467 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.6069, allocations: 12 kB / 1.467 GB, free: 14.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.6075, allocations: 261.7 kB / 1.467 GB, free: 14.56 MB / 1.17 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.002145/0.6096, allocations: 1.641 MB / 1.469 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.61, allocations: 190.5 kB / 1.469 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.6103, allocations: 108.7 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007078/0.611, allocations: 123.9 kB / 1.469 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.611, allocations: 38.56 kB / 1.469 GB, free: 12.32 MB / 1.17 GB Notification: Performance of pre-optimization done (n=23): time 3.737e-06/0.611, allocations: 3.984 kB / 1.469 GB, free: 12.31 MB / 1.17 GB Notification: Performance of matching and sorting (n=23): time 0.0009399/0.612, allocations: 359.1 kB / 1.47 GB, free: 11.96 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.612, allocations: 55.41 kB / 1.47 GB, free: 11.89 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.6125, allocations: 421.9 kB / 1.47 GB, free: 11.47 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.6125, allocations: 37.64 kB / 1.47 GB, free: 11.43 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.6127, allocations: 212.4 kB / 1.47 GB, free: 11.21 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.6128, allocations: 87.25 kB / 1.471 GB, free: 11.13 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.6129, allocations: 53.66 kB / 1.471 GB, free: 11.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6131, allocations: 350.8 kB / 1.471 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.6133, allocations: 91.88 kB / 1.471 GB, free: 10.63 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6135, allocations: 120.1 kB / 1.471 GB, free: 10.5 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.6139, allocations: 218 kB / 1.471 GB, free: 10.28 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6139, allocations: 0 / 1.471 GB, free: 10.28 MB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005605/0.6145, allocations: 277.2 kB / 1.472 GB, free: 10 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6145, allocations: 4 kB / 1.472 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6145, allocations: 4 kB / 1.472 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6145, allocations: 3.938 kB / 1.472 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.6147, allocations: 47.97 kB / 1.472 GB, free: 9.941 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6148, allocations: 7.938 kB / 1.472 GB, free: 9.934 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.615, allocations: 35.77 kB / 1.472 GB, free: 9.898 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.615, allocations: 11.98 kB / 1.472 GB, free: 9.887 MB / 1.17 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.0001958/0.6152, allocations: 161.8 kB / 1.472 GB, free: 9.719 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.6153, allocations: 43.72 kB / 1.472 GB, free: 9.676 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.6159, allocations: 293.8 kB / 1.472 GB, free: 9.375 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6159, allocations: 0 / 1.472 GB, free: 9.375 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6159, allocations: 3.938 kB / 1.472 GB, free: 9.371 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6159, allocations: 4 kB / 1.472 GB, free: 9.367 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.6172, allocations: 0.7818 MB / 1.473 GB, free: 8.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6172, allocations: 4 kB / 1.473 GB, free: 8.516 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.6175, allocations: 43.97 kB / 1.473 GB, free: 8.473 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6175, allocations: 0 / 1.473 GB, free: 8.473 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.6175, allocations: 11.94 kB / 1.473 GB, free: 8.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.6175, allocations: 4 kB / 1.473 GB, free: 8.457 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6175, allocations: 0 / 1.473 GB, free: 8.457 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000813/0.6183, allocations: 0.5145 MB / 1.474 GB, free: 7.91 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.6185, allocations: 67.67 kB / 1.474 GB, free: 7.844 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.6185, allocations: 12 kB / 1.474 GB, free: 7.832 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.6188, allocations: 15.97 kB / 1.474 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.6188, allocations: 23.91 kB / 1.474 GB, free: 7.793 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.6189, allocations: 8 kB / 1.474 GB, free: 7.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003459/0.6192, allocations: 303.1 kB / 1.474 GB, free: 7.496 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6192, allocations: 0 / 1.474 GB, free: 7.496 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004521/0.6197, allocations: 111.8 kB / 1.474 GB, free: 7.387 MB / 1.17 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.001307/0.621, allocations: 1.128 MB / 1.475 GB, free: 6.215 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.6214, allocations: 211.7 kB / 1.475 GB, free: 6.008 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6214, allocations: 0 / 1.475 GB, free: 6.008 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.6217, allocations: 107.8 kB / 1.475 GB, free: 5.902 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6228, allocations: 224.3 kB / 1.476 GB, free: 5.684 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.6279, allocations: 3.693 MB / 1.479 GB, free: 1.867 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.6284, allocations: 0.8272 MB / 1.48 GB, free: 1.016 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.6287, allocations: 83.36 kB / 1.48 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.6289, allocations: 135.4 kB / 1.48 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of SimCode: time 8.71e-07/0.6289, allocations: 0 / 1.48 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.6776, allocations: 12.37 MB / 1.492 GB, free: 4.695 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.12, allocations: 14.38 kB / 1.492 GB, free: 4.684 MB / 1.186 GB " [Timeout remaining time 287] (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: 18.902983627980575]