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.0008558/0.0008558, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000885/0.000885, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8612/0.8612, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.655e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4959/0.496, allocations: 153.4 MB / 1.149 GB, free: 3.945 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.4987, allocations: 2.279 MB / 1.152 GB, free: 2.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.4989, allocations: 17.16 kB / 1.152 GB, free: 2.402 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.4995, allocations: 235.4 kB / 1.152 GB, free: 2.258 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.501, allocations: 1.006 MB / 1.153 GB, free: 1.715 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.5026, allocations: 0.8708 MB / 1.154 GB, free: 1.297 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.5034, allocations: 0.9649 MB / 1.155 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.5038, allocations: 254.1 kB / 1.155 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.5046, allocations: 0.7354 MB / 1.156 GB, free: 420 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.5049, allocations: 280.7 kB / 1.156 GB, free: 328 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.505, allocations: 33.56 kB / 1.156 GB, free: 328 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.5061, allocations: 0.8599 MB / 1.157 GB, free: 4 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.5063, allocations: 162.8 kB / 1.157 GB, free: 15.93 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.5064, allocations: 166.8 kB / 1.157 GB, free: 15.86 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.5075, allocations: 0.961 MB / 1.158 GB, free: 15.54 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5075, allocations: 4 kB / 1.158 GB, free: 15.54 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5075, allocations: 1.188 kB / 1.158 GB, free: 15.54 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.5075, allocations: 0 / 1.158 GB, free: 15.54 MB / 1.026 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.001019/0.5085, allocations: 0.7464 MB / 1.159 GB, free: 14.98 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5085, allocations: 10.25 kB / 1.159 GB, free: 14.98 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.5086, allocations: 67.23 kB / 1.159 GB, free: 14.93 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/0.5095, allocations: 236 kB / 1.159 GB, free: 14.88 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.51, allocations: 325 kB / 1.159 GB, free: 14.64 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.51, allocations: 24.03 kB / 1.159 GB, free: 14.63 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.51, allocations: 28.72 kB / 1.159 GB, free: 14.62 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.5106, allocations: 454 kB / 1.16 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5106, allocations: 1.062 kB / 1.16 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.5106, allocations: 15.77 kB / 1.16 GB, free: 14.35 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.5106, allocations: 15.33 kB / 1.16 GB, free: 14.35 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.5111, allocations: 308.9 kB / 1.16 GB, free: 14.26 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.5123, allocations: 1.359 MB / 1.161 GB, free: 13.24 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.5127, allocations: 272 kB / 1.162 GB, free: 13.14 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.5129, allocations: 130.1 kB / 1.162 GB, free: 13.1 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.5132, allocations: 75.44 kB / 1.162 GB, free: 13.09 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.5132, allocations: 33.88 kB / 1.162 GB, free: 13.05 MB / 1.026 GB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.5132, allocations: 0 / 1.162 GB, free: 13.05 MB / 1.026 GB Notification: Performance of matching and sorting (n=23): time 0.0007378/0.5139, allocations: 439.4 kB / 1.162 GB, free: 12.89 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.514, allocations: 54.97 kB / 1.162 GB, free: 12.83 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.5143, allocations: 420.8 kB / 1.163 GB, free: 12.64 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.5143, allocations: 30.8 kB / 1.163 GB, free: 12.6 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5144, allocations: 216.8 kB / 1.163 GB, free: 12.42 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.5145, allocations: 87.41 kB / 1.163 GB, free: 12.35 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.5146, allocations: 51.47 kB / 1.163 GB, free: 12.32 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.5147, allocations: 353.8 kB / 1.164 GB, free: 11.99 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.5148, allocations: 102.3 kB / 1.164 GB, free: 11.96 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5151, allocations: 213.1 kB / 1.164 GB, free: 11.82 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.5154, allocations: 257.8 kB / 1.164 GB, free: 11.71 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5154, allocations: 0 / 1.164 GB, free: 11.71 MB / 1.026 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004468/0.5159, allocations: 336.5 kB / 1.164 GB, free: 11.57 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5159, allocations: 6.156 kB / 1.164 GB, free: 11.57 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5159, allocations: 1.406 kB / 1.164 GB, free: 11.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5159, allocations: 10.73 kB / 1.164 GB, free: 11.56 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.5161, allocations: 54.62 kB / 1.164 GB, free: 11.56 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5161, allocations: 9.859 kB / 1.165 GB, free: 11.56 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.5162, allocations: 38.47 kB / 1.165 GB, free: 11.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.5162, allocations: 13.39 kB / 1.165 GB, free: 11.54 MB / 1.026 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.0001206/0.5164, allocations: 162.5 kB / 1.165 GB, free: 11.39 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.5164, allocations: 45.94 kB / 1.165 GB, free: 11.37 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/0.5169, allocations: 344 kB / 1.165 GB, free: 11.23 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5169, allocations: 2.5 kB / 1.165 GB, free: 11.23 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5169, allocations: 1.719 kB / 1.165 GB, free: 11.23 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5169, allocations: 1.266 kB / 1.165 GB, free: 11.23 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.5179, allocations: 0.8243 MB / 1.166 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.5179, allocations: 2.531 kB / 1.166 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.518, allocations: 57.11 kB / 1.166 GB, free: 10.71 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.518, allocations: 7.219 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.5181, allocations: 9.219 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5181, allocations: 4.25 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5181, allocations: 5.25 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.5188, allocations: 0.5808 MB / 1.167 GB, free: 10.37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5189, allocations: 77.95 kB / 1.167 GB, free: 10.32 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.5189, allocations: 3.469 kB / 1.167 GB, free: 10.32 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5191, allocations: 26.67 kB / 1.167 GB, free: 10.32 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5191, allocations: 20.38 kB / 1.167 GB, free: 10.31 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.5191, allocations: 7.875 kB / 1.167 GB, free: 10.31 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002275/0.5194, allocations: 302.7 kB / 1.167 GB, free: 10.17 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.5194, allocations: 0 / 1.167 GB, free: 10.17 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002972/0.5197, allocations: 114.6 kB / 1.167 GB, free: 10.15 MB / 1.026 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.000991/0.5207, allocations: 1.181 MB / 1.168 GB, free: 9.27 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.5211, allocations: 254.4 kB / 1.168 GB, free: 9.199 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5211, allocations: 0 / 1.168 GB, free: 9.199 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.5213, allocations: 134 kB / 1.169 GB, free: 9.16 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.5219, allocations: 227.9 kB / 1.169 GB, free: 9.094 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.5257, allocations: 3.793 MB / 1.173 GB, free: 6.855 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.5259, allocations: 217.7 kB / 1.173 GB, free: 6.762 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.5261, allocations: 84.97 kB / 1.173 GB, free: 6.738 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.5262, allocations: 150.5 kB / 1.173 GB, free: 6.629 MB / 1.026 GB Notification: Performance of SimCode: time 6.01e-07/0.5262, allocations: 0 / 1.173 GB, free: 6.629 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.5526, allocations: 13.93 MB / 1.187 GB, free: 3.203 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.708, allocations: 11.89 kB / 1.187 GB, free: 3.195 MB / 1.026 GB " [Timeout remaining time 292] (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/jenkins/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: 11.648349737748504]