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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.198/3.198, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 64.56 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4573, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2176/0.675, allocations: 173.8 MB / 1.223 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004158/0.6792, allocations: 2.297 MB / 1.225 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.6797, allocations: 15.94 kB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007995/0.6805, allocations: 230.4 kB / 1.225 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.683, allocations: 0.9333 MB / 1.226 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.6854, allocations: 0.8203 MB / 1.227 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.6868, allocations: 0.9662 MB / 1.228 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005191/0.6873, allocations: 323 kB / 1.228 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007195/0.6881, allocations: 454.3 kB / 1.229 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.6885, allocations: 322.6 kB / 1.229 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.6886, allocations: 32 kB / 1.229 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.6906, allocations: 0.982 MB / 1.23 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.6908, allocations: 151.6 kB / 1.23 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.6911, allocations: 242.8 kB / 1.23 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.6925, allocations: 0.896 MB / 1.231 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6925, allocations: 0 / 1.231 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.855e-06/0.6925, allocations: 0 / 1.231 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.6925, allocations: 0 / 1.231 GB, free: 1.164 MB / 0.9825 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.001413/0.6939, allocations: 0.7983 MB / 1.232 GB, free: 324 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.694, allocations: 12.62 kB / 1.232 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.465e-05/0.6941, allocations: 66.48 kB / 1.232 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.6953, allocations: 191.1 kB / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.6959, allocations: 369.5 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.6959, allocations: 24.66 kB / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.696, allocations: 28 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.6966, allocations: 373.1 kB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6967, allocations: 7.938 kB / 1.233 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.6967, allocations: 12 kB / 1.233 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.6967, allocations: 11.94 kB / 1.233 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.6972, allocations: 262 kB / 1.233 GB, free: 14.91 MB / 0.9981 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.001864/0.6991, allocations: 1.679 MB / 1.235 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.6995, allocations: 206.5 kB / 1.235 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.6997, allocations: 120.7 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.7009, allocations: 0.874 MB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7009, allocations: 30.56 kB / 1.236 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.7009, allocations: 0 / 1.236 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009401/0.7019, allocations: 359.4 kB / 1.236 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.7019, allocations: 55.41 kB / 1.236 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.7024, allocations: 422 kB / 1.237 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.7024, allocations: 29.7 kB / 1.237 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.7026, allocations: 216.2 kB / 1.237 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.7027, allocations: 82.75 kB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.7028, allocations: 49.7 kB / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.703, allocations: 354.8 kB / 1.237 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.7032, allocations: 91.81 kB / 1.238 GB, free: 10 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.7034, allocations: 120.1 kB / 1.238 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.7038, allocations: 201.4 kB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.7038, allocations: 4.031 kB / 1.238 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005124/0.7043, allocations: 285 kB / 1.238 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7043, allocations: 4 kB / 1.238 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7043, allocations: 0 / 1.238 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.7044, allocations: 4 kB / 1.238 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.7046, allocations: 55.91 kB / 1.238 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7046, allocations: 3.938 kB / 1.238 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.7049, allocations: 35.62 kB / 1.238 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.7049, allocations: 12 kB / 1.238 GB, free: 9.262 MB / 0.9981 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.00019/0.7051, allocations: 161.8 kB / 1.238 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.7052, allocations: 43.53 kB / 1.238 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.7058, allocations: 281.2 kB / 1.239 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.7058, allocations: 4 kB / 1.239 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.7058, allocations: 3.938 kB / 1.239 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.7059, allocations: 8.078 kB / 1.239 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.7072, allocations: 0.8168 MB / 1.24 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7072, allocations: 0 / 1.24 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.7074, allocations: 51.91 kB / 1.24 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.7074, allocations: 0 / 1.24 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.7074, allocations: 4 kB / 1.24 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.7074, allocations: 4 kB / 1.24 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7075, allocations: 7.938 kB / 1.24 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008088/0.7083, allocations: 0.5005 MB / 1.24 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.7085, allocations: 148.5 kB / 1.24 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.7085, allocations: 12 kB / 1.24 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.7088, allocations: 15.98 kB / 1.24 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.7089, allocations: 19.92 kB / 1.24 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.7089, allocations: 11.94 kB / 1.24 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003402/0.7092, allocations: 299.1 kB / 1.241 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7093, allocations: 0 / 1.241 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005203/0.7098, allocations: 123.8 kB / 1.241 GB, free: 6.625 MB / 0.9981 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.001574/0.7114, allocations: 1.13 MB / 1.242 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.7119, allocations: 217.1 kB / 1.242 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7119, allocations: 0 / 1.242 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.7122, allocations: 111.8 kB / 1.242 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.7133, allocations: 235.9 kB / 1.242 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.7186, allocations: 3.739 MB / 1.246 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.7191, allocations: 0.8233 MB / 1.247 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.7194, allocations: 83.34 kB / 1.247 GB, free: 116 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7328/1.452, allocations: 139.3 kB / 1.247 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.452, allocations: 0 / 1.247 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06845/1.521, allocations: 12 MB / 1.259 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/9.791, allocations: 5.469 kB / 1.259 GB, free: 194.7 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) 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) Reference file matches