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.00105/0.00105, allocations: 99.19 kB / 16.02 MB, free: 76 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.001502/0.001502, allocations: 182 kB / 16.92 MB, free: 6.918 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.569/1.569, allocations: 223.3 MB / 241 MB, free: 5.352 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.725/2.725, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 15.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9945, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2025/1.197, allocations: 169.3 MB / 1.121 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004763/1.202, allocations: 2.285 MB / 1.123 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004738/1.202, allocations: 15.88 kB / 1.123 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008404/1.203, allocations: 182.9 kB / 1.123 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/1.206, allocations: 0.8831 MB / 1.124 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/1.208, allocations: 0.7565 MB / 1.125 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001485/1.209, allocations: 1.333 MB / 1.126 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/1.21, allocations: 294.2 kB / 1.127 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/1.21, allocations: 402.4 kB / 1.127 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/1.211, allocations: 326.6 kB / 1.127 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/1.211, allocations: 16 kB / 1.127 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/1.213, allocations: 1.165 MB / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/1.213, allocations: 131.5 kB / 1.129 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/1.213, allocations: 240.5 kB / 1.129 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007817/1.214, allocations: 0.6275 MB / 1.129 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.214, allocations: 4 kB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/1.214, allocations: 0 / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.214, allocations: 0 / 1.129 GB, free: 12.79 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.001204/1.215, allocations: 0.7359 MB / 1.13 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.215, allocations: 8.031 kB / 1.13 GB, free: 12 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.216, allocations: 183.2 kB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/1.217, allocations: 369.4 kB / 1.131 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/1.217, allocations: 24.66 kB / 1.131 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/1.217, allocations: 28 kB / 1.131 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/1.218, allocations: 377.1 kB / 1.131 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.218, allocations: 4 kB / 1.131 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.218, allocations: 12 kB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/1.218, allocations: 15.94 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/1.218, allocations: 270 kB / 1.131 GB, free: 10.68 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.001759/1.22, allocations: 1.671 MB / 1.133 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/1.22, allocations: 222.2 kB / 1.133 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/1.221, allocations: 120.8 kB / 1.133 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.222, allocations: 0.8857 MB / 1.134 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.222, allocations: 38.56 kB / 1.134 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/1.222, allocations: 0 / 1.134 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0008915/1.223, allocations: 374.7 kB / 1.135 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/1.223, allocations: 55.41 kB / 1.135 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/1.223, allocations: 414 kB / 1.135 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.223, allocations: 33.7 kB / 1.135 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/1.223, allocations: 212.3 kB / 1.135 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/1.223, allocations: 90.73 kB / 1.135 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/1.223, allocations: 25.72 kB / 1.135 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.224, allocations: 362.7 kB / 1.136 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/1.224, allocations: 79.95 kB / 1.136 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/1.224, allocations: 131.4 kB / 1.136 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/1.224, allocations: 214.1 kB / 1.136 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.224, allocations: 8.031 kB / 1.136 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005222/1.225, allocations: 293 kB / 1.136 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.225, allocations: 4 kB / 1.136 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.225, allocations: 4 kB / 1.136 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.225, allocations: 0 / 1.136 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.225, allocations: 59.94 kB / 1.137 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.225, allocations: 3.938 kB / 1.137 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.225, allocations: 47.58 kB / 1.137 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/1.225, allocations: 12 kB / 1.137 GB, free: 4.953 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.0001648/1.226, allocations: 165.8 kB / 1.137 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/1.226, allocations: 43.53 kB / 1.137 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/1.226, allocations: 286 kB / 1.137 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.226, allocations: 4 kB / 1.137 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.226, allocations: 4.047 kB / 1.137 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.226, allocations: 7.938 kB / 1.137 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.228, allocations: 0.8204 MB / 1.138 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.228, allocations: 4 kB / 1.138 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/1.228, allocations: 47.91 kB / 1.138 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.228, allocations: 4 kB / 1.138 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.228, allocations: 8 kB / 1.138 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.228, allocations: 8.188 kB / 1.138 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.228, allocations: 4 kB / 1.138 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/1.229, allocations: 0.5287 MB / 1.138 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/1.229, allocations: 148.5 kB / 1.139 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/1.229, allocations: 8 kB / 1.139 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/1.229, allocations: 27.98 kB / 1.139 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/1.229, allocations: 19.91 kB / 1.139 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/1.229, allocations: 15.94 kB / 1.139 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003064/1.23, allocations: 299.1 kB / 1.139 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.23, allocations: 4 kB / 1.139 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004522/1.23, allocations: 115.8 kB / 1.139 GB, free: 2.266 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.0004439/1.23, allocations: 199.3 kB / 1.139 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004906/1.231, allocations: 212.6 kB / 1.139 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.231, allocations: 4 kB / 1.139 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/1.231, allocations: 120.1 kB / 1.14 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.232, allocations: 207.1 kB / 1.14 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/1.234, allocations: 1.14 MB / 1.141 GB, free: 364 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/1.234, allocations: 0.8275 MB / 1.142 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/1.235, allocations: 31.44 kB / 1.142 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/1.235, allocations: 7.938 kB / 1.142 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.01072/1.245, allocations: 6.537 MB / 1.148 GB, free: 8.996 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