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.0008434/0.0008432, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005996/0.005996, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.335/2.335, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003608, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7213, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1939/0.9152, allocations: 169.3 MB / 1.12 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.9195, allocations: 2.296 MB / 1.123 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007623/0.9203, allocations: 11.94 kB / 1.123 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.9212, allocations: 186.8 kB / 1.123 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.9244, allocations: 0.8792 MB / 1.124 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.9273, allocations: 0.7457 MB / 1.124 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002266/0.9296, allocations: 1.345 MB / 1.126 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.9303, allocations: 278.2 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.9315, allocations: 418.3 kB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.9322, allocations: 314.6 kB / 1.127 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.9324, allocations: 24 kB / 1.127 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.9348, allocations: 1.169 MB / 1.128 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.9351, allocations: 131.6 kB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.9355, allocations: 248.5 kB / 1.128 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.9374, allocations: 0.9463 MB / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9374, allocations: 0 / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9375, allocations: 0 / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.9375, allocations: 0 / 1.129 GB, free: 12.42 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.001438/0.9389, allocations: 0.7321 MB / 1.13 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.939, allocations: 8.031 kB / 1.13 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.9403, allocations: 179.2 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.941, allocations: 377.4 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.9411, allocations: 24.66 kB / 1.13 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.9411, allocations: 28 kB / 1.13 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.9418, allocations: 377.1 kB / 1.131 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.9418, allocations: 0 / 1.131 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.9419, allocations: 15.94 kB / 1.131 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.9419, allocations: 23.92 kB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.9425, allocations: 270 kB / 1.131 GB, free: 10.3 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.002101/0.9446, allocations: 1.671 MB / 1.133 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.945, allocations: 214.3 kB / 1.133 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.9452, allocations: 120.8 kB / 1.133 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.9463, allocations: 0.8818 MB / 1.134 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.9464, allocations: 38.56 kB / 1.134 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.9464, allocations: 4 kB / 1.134 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0009511/0.9474, allocations: 375 kB / 1.134 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.9474, allocations: 59.41 kB / 1.134 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.9479, allocations: 417.9 kB / 1.135 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.9479, allocations: 33.7 kB / 1.135 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.9481, allocations: 208.3 kB / 1.135 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.9482, allocations: 82.75 kB / 1.135 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.9483, allocations: 29.81 kB / 1.135 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9484, allocations: 358.7 kB / 1.135 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.9487, allocations: 79.95 kB / 1.136 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.9489, allocations: 131.4 kB / 1.136 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.9494, allocations: 218.1 kB / 1.136 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9494, allocations: 0 / 1.136 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005918/0.95, allocations: 297 kB / 1.136 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.95, allocations: 4 kB / 1.136 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.95, allocations: 7.984 kB / 1.136 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.95, allocations: 0 / 1.136 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.9503, allocations: 47.98 kB / 1.136 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.9503, allocations: 7.875 kB / 1.136 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.9506, allocations: 51.56 kB / 1.136 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.9506, allocations: 12 kB / 1.136 GB, free: 4.586 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.0001869/0.9508, allocations: 157.8 kB / 1.136 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.9509, allocations: 39.53 kB / 1.136 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/0.9515, allocations: 301.1 kB / 1.137 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9516, allocations: 4 kB / 1.137 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.9516, allocations: 3.938 kB / 1.137 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.9516, allocations: 3.984 kB / 1.137 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.9529, allocations: 0.8246 MB / 1.138 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9529, allocations: 8.031 kB / 1.138 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.9531, allocations: 43.92 kB / 1.138 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.9531, allocations: 4.094 kB / 1.138 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.9532, allocations: 8 kB / 1.138 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.9532, allocations: 7.922 kB / 1.138 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9532, allocations: 7.984 kB / 1.138 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.954, allocations: 0.5217 MB / 1.138 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.9542, allocations: 148.5 kB / 1.138 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.9542, allocations: 8 kB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.9545, allocations: 31.97 kB / 1.138 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.9546, allocations: 11.98 kB / 1.138 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.9546, allocations: 15.94 kB / 1.138 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003053/0.9549, allocations: 299.1 kB / 1.139 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9549, allocations: 0 / 1.139 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004639/0.9554, allocations: 115.8 kB / 1.139 GB, free: 1.906 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.0005146/0.9559, allocations: 196.2 kB / 1.139 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.9565, allocations: 215.8 kB / 1.139 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.9565, allocations: 0 / 1.139 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.9567, allocations: 119.8 kB / 1.139 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.958, allocations: 217.9 kB / 1.139 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.9597, allocations: 1.102 MB / 1.141 GB, free: 32 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.9601, allocations: 0.8236 MB / 1.141 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.9605, allocations: 87.34 kB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.9606, allocations: 31.44 kB / 1.141 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.9606, allocations: 0 / 1.141 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.01405/0.9746, allocations: 7.65 MB / 1.149 GB, free: 7.547 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