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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007781/0.007781, allocations: 98.33 kB / 15.88 MB, free: 6.312 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.001708/0.001709, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 63.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.85, allocations: 140.4 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2135/1.064, allocations: 171.6 MB / 1.117 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004468/1.068, allocations: 2.318 MB / 1.119 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/1.069, allocations: 11.94 kB / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008946/1.069, allocations: 190.8 kB / 1.12 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/1.072, allocations: 0.8753 MB / 1.12 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/1.075, allocations: 0.7507 MB / 1.121 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002123/1.077, allocations: 1.348 MB / 1.122 GB, free: 436 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/1.077, allocations: 278.4 kB / 1.123 GB, free: 152 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/1.078, allocations: 418.2 kB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/1.079, allocations: 338.5 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/1.079, allocations: 20 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/1.081, allocations: 1.165 MB / 1.125 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/1.081, allocations: 135.6 kB / 1.125 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/1.082, allocations: 230.7 kB / 1.125 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009509/1.083, allocations: 0.6199 MB / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.083, allocations: 0 / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.001e-06/1.083, allocations: 0 / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.083, allocations: 0 / 1.126 GB, free: 13.24 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.001522/1.084, allocations: 0.8138 MB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.084, allocations: 8.031 kB / 1.126 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/1.086, allocations: 179.2 kB / 1.127 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/1.086, allocations: 381.4 kB / 1.127 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/1.086, allocations: 20.66 kB / 1.127 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/1.086, allocations: 32 kB / 1.127 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/1.087, allocations: 369.1 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.087, allocations: 4 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.087, allocations: 15.98 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/1.087, allocations: 15.88 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/1.088, allocations: 258 kB / 1.128 GB, free: 11.06 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.002274/1.09, allocations: 1.679 MB / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/1.091, allocations: 202.4 kB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/1.091, allocations: 116.8 kB / 1.13 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.092, allocations: 0.8662 MB / 1.13 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.092, allocations: 34.56 kB / 1.13 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/1.092, allocations: 0 / 1.13 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0009855/1.093, allocations: 358.3 kB / 1.131 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/1.093, allocations: 55.41 kB / 1.131 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/1.094, allocations: 421.9 kB / 1.131 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/1.094, allocations: 33.7 kB / 1.131 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.094, allocations: 212.2 kB / 1.131 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/1.094, allocations: 78.83 kB / 1.132 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.095, allocations: 57.61 kB / 1.132 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.095, allocations: 358.7 kB / 1.132 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.095, allocations: 79.94 kB / 1.132 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/1.095, allocations: 115.4 kB / 1.132 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/1.096, allocations: 218.1 kB / 1.132 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.096, allocations: 0 / 1.132 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005322/1.096, allocations: 284.9 kB / 1.133 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.096, allocations: 5.25 kB / 1.133 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.096, allocations: 4 kB / 1.133 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.096, allocations: 3.938 kB / 1.133 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/1.097, allocations: 51.91 kB / 1.133 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.097, allocations: 8.031 kB / 1.133 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.097, allocations: 39.61 kB / 1.133 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/1.097, allocations: 12.11 kB / 1.133 GB, free: 5.395 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.0002179/1.097, allocations: 161.8 kB / 1.133 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/1.097, allocations: 43.44 kB / 1.133 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006799/1.098, allocations: 298.8 kB / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.098, allocations: 0 / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.098, allocations: 0 / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.098, allocations: 3.938 kB / 1.133 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/1.099, allocations: 0.8074 MB / 1.134 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.099, allocations: 4 kB / 1.134 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/1.1, allocations: 43.91 kB / 1.134 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.1, allocations: 4 kB / 1.134 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/1.1, allocations: 8 kB / 1.134 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.1, allocations: 4.188 kB / 1.134 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.1, allocations: 4 kB / 1.134 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/1.101, allocations: 0.5134 MB / 1.135 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/1.101, allocations: 148.5 kB / 1.135 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/1.101, allocations: 8 kB / 1.135 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/1.101, allocations: 15.98 kB / 1.135 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/1.101, allocations: 23.97 kB / 1.135 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/1.101, allocations: 8 kB / 1.135 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003562/1.102, allocations: 307.1 kB / 1.135 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/1.102, allocations: 0 / 1.135 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005096/1.102, allocations: 115.8 kB / 1.135 GB, free: 2.758 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.0006003/1.103, allocations: 198.1 kB / 1.135 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005679/1.104, allocations: 209.9 kB / 1.136 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.104, allocations: 64 / 1.136 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/1.104, allocations: 115.8 kB / 1.136 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.105, allocations: 210.7 kB / 1.136 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/1.107, allocations: 1.067 MB / 1.137 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/1.108, allocations: 0.8314 MB / 1.138 GB, free: 64 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.108, allocations: 35.44 kB / 1.138 GB, free: 28 kB / 0.8887 GB Notification: Performance of SimCode: time 4.7e-07/1.108, allocations: 0 / 1.138 GB, free: 28 kB / 0.8887 GB Notification: Performance of Templates: time 0.01149/1.119, allocations: 6.594 MB / 1.144 GB, free: 9.516 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/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