Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_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.005256/0.005261, allocations: 101.5 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 69.89 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2162, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1539/0.3701, allocations: 173.8 MB / 1.257 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.3734, allocations: 2.304 MB / 1.259 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.3738, allocations: 15.88 kB / 1.259 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.3744, allocations: 234.3 kB / 1.26 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.3762, allocations: 0.9255 MB / 1.261 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.4955/0.8717, allocations: 0.8249 MB / 1.261 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.8729, allocations: 0.9617 MB / 1.262 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.8734, allocations: 326 kB / 1.263 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.874, allocations: 454 kB / 1.263 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.8744, allocations: 319 kB / 1.263 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.8744, allocations: 32.59 kB / 1.263 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.876, allocations: 0.989 MB / 1.264 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.8762, allocations: 148.6 kB / 1.265 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002356/0.8764, allocations: 242.4 kB / 1.265 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.8776, allocations: 0.9012 MB / 1.266 GB, free: 3.824 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8776, allocations: 1.625 kB / 1.266 GB, free: 3.824 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8776, allocations: 0 / 1.266 GB, free: 3.824 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.8776, allocations: 2.094 kB / 1.266 GB, free: 3.824 MB / 1.014 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.001029/0.8786, allocations: 0.8031 MB / 1.266 GB, free: 3.277 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.8787, allocations: 10.94 kB / 1.266 GB, free: 3.277 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.8788, allocations: 66.14 kB / 1.266 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.8799, allocations: 180.1 kB / 1.267 GB, free: 3.215 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.8805, allocations: 393.1 kB / 1.267 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.8805, allocations: 19.84 kB / 1.267 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.8806, allocations: 32.84 kB / 1.267 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.8811, allocations: 369.2 kB / 1.267 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.8811, allocations: 4 kB / 1.267 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.8812, allocations: 13.88 kB / 1.267 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.8812, allocations: 16.61 kB / 1.267 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.8817, allocations: 258.3 kB / 1.268 GB, free: 2.875 MB / 1.014 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.001613/0.8833, allocations: 1.678 MB / 1.269 GB, free: 17.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.8837, allocations: 210.9 kB / 1.27 GB, free: 17.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.8839, allocations: 114 kB / 1.27 GB, free: 17.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009055/0.8848, allocations: 0.8737 MB / 1.271 GB, free: 16.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.8849, allocations: 36.97 kB / 1.271 GB, free: 16.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.402e-06/0.8849, allocations: 0.8438 kB / 1.271 GB, free: 16.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008515/0.8857, allocations: 352.4 kB / 1.271 GB, free: 16.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.8858, allocations: 55.73 kB / 1.271 GB, free: 16.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.8862, allocations: 422.7 kB / 1.271 GB, free: 16.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.8863, allocations: 31.8 kB / 1.271 GB, free: 16.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.8864, allocations: 213.9 kB / 1.272 GB, free: 16.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.8865, allocations: 86.08 kB / 1.272 GB, free: 16.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.8865, allocations: 49.66 kB / 1.272 GB, free: 16.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8867, allocations: 353.9 kB / 1.272 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.8868, allocations: 80.08 kB / 1.272 GB, free: 15.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.8871, allocations: 123.1 kB / 1.272 GB, free: 15.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.8875, allocations: 212.9 kB / 1.272 GB, free: 15.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8875, allocations: 0.6875 kB / 1.272 GB, free: 15.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005127/0.888, allocations: 281.7 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.888, allocations: 7.125 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.888, allocations: 6.141 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.888, allocations: 3.562 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.8883, allocations: 50.2 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8883, allocations: 3.469 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.8885, allocations: 32.12 kB / 1.273 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.8885, allocations: 12.27 kB / 1.273 GB, free: 15.84 MB / 1.029 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.0001479/0.8887, allocations: 167.3 kB / 1.273 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.8888, allocations: 46.22 kB / 1.273 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.8893, allocations: 286.1 kB / 1.273 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8894, allocations: 2.938 kB / 1.273 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8894, allocations: 1.281 kB / 1.273 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8894, allocations: 3.25 kB / 1.273 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.8906, allocations: 0.8094 MB / 1.274 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8907, allocations: 2.906 kB / 1.274 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8909, allocations: 49.47 kB / 1.274 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8909, allocations: 3.844 kB / 1.274 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.8909, allocations: 13.44 kB / 1.274 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.891, allocations: 6.266 kB / 1.274 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.891, allocations: 2.906 kB / 1.274 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.8918, allocations: 0.498 MB / 1.275 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.892, allocations: 153.5 kB / 1.275 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.892, allocations: 7.922 kB / 1.275 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.8923, allocations: 14.05 kB / 1.275 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.8923, allocations: 19.12 kB / 1.275 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.8924, allocations: 11.98 kB / 1.275 GB, free: 14.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003561/0.8927, allocations: 298.8 kB / 1.275 GB, free: 14.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8927, allocations: 0.9375 kB / 1.275 GB, free: 14.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004517/0.8932, allocations: 121.8 kB / 1.275 GB, free: 14.88 MB / 1.029 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.001237/0.8944, allocations: 1.125 MB / 1.276 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.8949, allocations: 210.7 kB / 1.277 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8949, allocations: 0.9062 kB / 1.277 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.8951, allocations: 111.7 kB / 1.277 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.8962, allocations: 229.9 kB / 1.277 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.9005, allocations: 3.688 MB / 1.28 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.9008, allocations: 0.8266 MB / 1.281 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.9011, allocations: 85.75 kB / 1.281 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.9013, allocations: 137.4 kB / 1.282 GB, free: 11.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.9013, allocations: 5.031 kB / 1.282 GB, free: 11.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/1.081, allocations: 12.1 MB / 1.293 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/9.557, allocations: 10.17 kB / 1.293 GB, free: 10.89 MB / 1.029 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches