Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00195/0.00195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002647/0.002647, allocations: 191.2 kB / 16.13 MB, free: 6.676 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.745/2.745, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 0.8686 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6909, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2153/0.9062, allocations: 171.6 MB / 1.184 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.9104, allocations: 2.315 MB / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.9109, allocations: 11.94 kB / 1.186 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.9117, allocations: 190.8 kB / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.9141, allocations: 0.8792 MB / 1.188 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.9161, allocations: 0.7557 MB / 1.188 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.9178, allocations: 1.345 MB / 1.19 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.9183, allocations: 280.2 kB / 1.19 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/0.9191, allocations: 422.4 kB / 1.19 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.9195, allocations: 322.6 kB / 1.191 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.9196, allocations: 20 kB / 1.191 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.9218, allocations: 1.169 MB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.922, allocations: 127.5 kB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.9223, allocations: 234.8 kB / 1.192 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.9239, allocations: 0.9581 MB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9239, allocations: 0 / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9239, allocations: 0 / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.9239, allocations: 0 / 1.193 GB, free: 13.57 MB / 0.9512 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.001385/0.9253, allocations: 0.8023 MB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.9254, allocations: 8.031 kB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.9267, allocations: 183.1 kB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.9273, allocations: 381.3 kB / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.9273, allocations: 24.66 kB / 1.194 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.9274, allocations: 31.98 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.9281, allocations: 369.1 kB / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.9281, allocations: 0 / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.9281, allocations: 16 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.9282, allocations: 19.86 kB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.9287, allocations: 254 kB / 1.195 GB, free: 11.39 MB / 0.9512 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.002107/0.9308, allocations: 1.675 MB / 1.197 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.9313, allocations: 198.5 kB / 1.197 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.9315, allocations: 112.8 kB / 1.197 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.9328, allocations: 0.874 MB / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.9328, allocations: 34.56 kB / 1.198 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.9328, allocations: 4 kB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0009694/0.9338, allocations: 354.5 kB / 1.198 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.9338, allocations: 55.41 kB / 1.198 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.9344, allocations: 425.9 kB / 1.199 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.9344, allocations: 25.7 kB / 1.199 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.9346, allocations: 216.2 kB / 1.199 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.9347, allocations: 90.73 kB / 1.199 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/0.9348, allocations: 49.7 kB / 1.199 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.935, allocations: 350.7 kB / 1.199 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.9352, allocations: 79.94 kB / 1.199 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.9354, allocations: 125 kB / 1.199 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.9359, allocations: 210.8 kB / 1.2 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.9359, allocations: 112 / 1.2 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005828/0.9365, allocations: 288.9 kB / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.9365, allocations: 12.06 kB / 1.2 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9365, allocations: 4 kB / 1.2 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.9366, allocations: 0 / 1.2 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.9368, allocations: 51.91 kB / 1.2 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.9368, allocations: 4 kB / 1.2 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.9371, allocations: 43.61 kB / 1.2 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.9372, allocations: 12 kB / 1.2 GB, free: 5.738 MB / 0.9512 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.0002002/0.9374, allocations: 161.8 kB / 1.2 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.9375, allocations: 47.38 kB / 1.2 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006258/0.9381, allocations: 279.2 kB / 1.201 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.9381, allocations: 4 kB / 1.201 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9381, allocations: 3.984 kB / 1.201 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.9381, allocations: 3.938 kB / 1.201 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.9395, allocations: 0.8073 MB / 1.201 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9395, allocations: 8.125 kB / 1.201 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.9398, allocations: 51.91 kB / 1.201 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.9398, allocations: 0 / 1.201 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.9398, allocations: 8 kB / 1.201 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.9398, allocations: 4 kB / 1.201 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9399, allocations: 0 / 1.201 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.9407, allocations: 0.5075 MB / 1.202 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.9409, allocations: 144.5 kB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.941, allocations: 11.98 kB / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.9413, allocations: 27.98 kB / 1.202 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.9414, allocations: 15.97 kB / 1.202 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.9414, allocations: 12 kB / 1.202 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003618/0.9418, allocations: 303.1 kB / 1.202 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9418, allocations: 0 / 1.202 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004847/0.9423, allocations: 119.8 kB / 1.203 GB, free: 3.098 MB / 0.9512 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.0004775/0.9427, allocations: 197 kB / 1.203 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.9433, allocations: 211.8 kB / 1.203 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9433, allocations: 3.938 kB / 1.203 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.9435, allocations: 107.8 kB / 1.203 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.9447, allocations: 223.9 kB / 1.203 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.9465, allocations: 1.018 MB / 1.204 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.947, allocations: 0.8275 MB / 1.205 GB, free: 464 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.9474, allocations: 87.34 kB / 1.205 GB, free: 376 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.9475, allocations: 31.44 kB / 1.205 GB, free: 344 kB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.9475, allocations: 4 kB / 1.205 GB, free: 340 kB / 0.9512 GB Notification: Performance of Templates: time 0.01606/0.9635, allocations: 7.677 MB / 1.213 GB, free: 8.793 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches