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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001541/0.001541, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.502/2.502, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7482, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2101/0.9583, allocations: 171.5 MB / 1.117 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004708/0.9631, allocations: 2.297 MB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.9639, allocations: 15.88 kB / 1.119 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.9649, allocations: 194.8 kB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.9679, allocations: 0.8754 MB / 1.12 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.9706, allocations: 0.7592 MB / 1.121 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.9723, allocations: 0.9662 MB / 1.122 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.9729, allocations: 322.9 kB / 1.122 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.9739, allocations: 470.2 kB / 1.122 GB, free: 68 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.9743, allocations: 330.7 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.9744, allocations: 32 kB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.9768, allocations: 1.029 MB / 1.124 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.977, allocations: 151.5 kB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.9773, allocations: 234.8 kB / 1.124 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.9792, allocations: 0.966 MB / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.9792, allocations: 0 / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9792, allocations: 0 / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.9792, allocations: 0 / 1.125 GB, free: 13.33 MB / 0.8887 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.001587/0.9808, allocations: 0.8099 MB / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9809, allocations: 8.031 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.9823, allocations: 183.2 kB / 1.126 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.9829, allocations: 377.4 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.983, allocations: 24.66 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.983, allocations: 28 kB / 1.126 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.9838, allocations: 369.1 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.9838, allocations: 0 / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.9839, allocations: 12 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.9839, allocations: 19.92 kB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.9845, allocations: 262 kB / 1.127 GB, free: 11.15 MB / 0.8887 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.002207/0.9867, allocations: 1.671 MB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.9871, allocations: 207.7 kB / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.9874, allocations: 116.8 kB / 1.129 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.9886, allocations: 0.8662 MB / 1.13 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.9887, allocations: 42.56 kB / 1.13 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.9887, allocations: 0 / 1.13 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.001056/0.9898, allocations: 354.5 kB / 1.13 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.9898, allocations: 55.41 kB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.9904, allocations: 417.9 kB / 1.131 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.9904, allocations: 33.7 kB / 1.131 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.9906, allocations: 216.2 kB / 1.131 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.9907, allocations: 86.83 kB / 1.131 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.9908, allocations: 53.61 kB / 1.131 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.991, allocations: 350.7 kB / 1.131 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.9912, allocations: 79.94 kB / 1.131 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.9915, allocations: 123.4 kB / 1.131 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.9919, allocations: 207.8 kB / 1.132 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9919, allocations: 0 / 1.132 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00057/0.9925, allocations: 281.9 kB / 1.132 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.9925, allocations: 14.28 kB / 1.132 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.9925, allocations: 4 kB / 1.132 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.9925, allocations: 0 / 1.132 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.9928, allocations: 51.97 kB / 1.132 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9928, allocations: 7.938 kB / 1.132 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.9931, allocations: 39.61 kB / 1.132 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.9932, allocations: 12 kB / 1.132 GB, free: 5.496 MB / 0.8887 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.0001908/0.9934, allocations: 165.8 kB / 1.132 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.9935, allocations: 43.44 kB / 1.132 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.9941, allocations: 287.1 kB / 1.133 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.9941, allocations: 3.938 kB / 1.133 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9941, allocations: 4 kB / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9941, allocations: 3.938 kB / 1.133 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.9954, allocations: 0.8035 MB / 1.133 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.9954, allocations: 8.188 kB / 1.133 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.9957, allocations: 43.91 kB / 1.133 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9957, allocations: 4 kB / 1.133 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.9957, allocations: 8 kB / 1.133 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.9957, allocations: 4 kB / 1.133 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9957, allocations: 0 / 1.133 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.9966, allocations: 0.5114 MB / 1.134 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.9968, allocations: 144.5 kB / 1.134 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.9968, allocations: 11.98 kB / 1.134 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.9971, allocations: 23.98 kB / 1.134 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.9972, allocations: 16.16 kB / 1.134 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.9972, allocations: 12 kB / 1.134 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003329/0.9976, allocations: 303.1 kB / 1.134 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9976, allocations: 0 / 1.134 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005151/0.9981, allocations: 119.8 kB / 1.135 GB, free: 2.859 MB / 0.8887 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.0004857/0.9986, allocations: 204.2 kB / 1.135 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.9991, allocations: 220.9 kB / 1.135 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9991, allocations: 0 / 1.135 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.9994, allocations: 115.8 kB / 1.135 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.001, allocations: 218.8 kB / 1.135 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/1.002, allocations: 1.037 MB / 1.136 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/1.003, allocations: 0.8233 MB / 1.137 GB, free: 188 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003443/1.003, allocations: 87.33 kB / 1.137 GB, free: 100 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/1.003, allocations: 35.44 kB / 1.137 GB, free: 64 kB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/1.003, allocations: 4 kB / 1.137 GB, free: 60 kB / 0.8887 GB Notification: Performance of Templates: time 0.01541/1.019, allocations: 7.94 MB / 1.145 GB, free: 8.262 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches