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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.009037/0.009037, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001618/0.001618, allocations: 195.4 kB / 16.79 MB, free: 5.809 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.557/1.557, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.859/2.859, allocations: 437 MB / 0.7106 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.91 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8661, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2133/1.079, allocations: 171.6 MB / 1.185 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005516/1.085, allocations: 2.309 MB / 1.187 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/1.086, allocations: 15.88 kB / 1.187 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/1.088, allocations: 194.8 kB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/1.092, allocations: 0.8831 MB / 1.188 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/1.095, allocations: 0.7473 MB / 1.189 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002567/1.097, allocations: 1.348 MB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009354/1.098, allocations: 274.3 kB / 1.19 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/1.1, allocations: 414.3 kB / 1.191 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000757/1.1, allocations: 330.6 kB / 1.191 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/1.101, allocations: 20 kB / 1.191 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/1.103, allocations: 1.169 MB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002629/1.103, allocations: 135.5 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/1.104, allocations: 222.8 kB / 1.193 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/1.105, allocations: 0.6315 MB / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.105, allocations: 4 kB / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/1.105, allocations: 0 / 1.193 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.8e-05/1.105, allocations: 7.938 kB / 1.193 GB, free: 13.86 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.001921/1.107, allocations: 0.806 MB / 1.194 GB, free: 13 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.107, allocations: 8.031 kB / 1.194 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/1.109, allocations: 179.2 kB / 1.194 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/1.109, allocations: 381.3 kB / 1.195 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/1.109, allocations: 24.66 kB / 1.195 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/1.11, allocations: 28 kB / 1.195 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/1.11, allocations: 369.1 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.11, allocations: 0 / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/1.11, allocations: 19.98 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.11, allocations: 15.92 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/1.111, allocations: 258 kB / 1.195 GB, free: 11.68 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.002293/1.113, allocations: 1.664 MB / 1.197 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/1.114, allocations: 206.5 kB / 1.197 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/1.114, allocations: 112.8 kB / 1.197 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.115, allocations: 0.8779 MB / 1.198 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.115, allocations: 30.56 kB / 1.198 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/1.115, allocations: 0 / 1.198 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001018/1.116, allocations: 359 kB / 1.198 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.116, allocations: 59.34 kB / 1.199 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/1.117, allocations: 421.9 kB / 1.199 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/1.117, allocations: 33.7 kB / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.117, allocations: 208.2 kB / 1.199 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/1.117, allocations: 82.75 kB / 1.199 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.117, allocations: 57.7 kB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.117, allocations: 350.7 kB / 1.2 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/1.118, allocations: 84.05 kB / 1.2 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/1.118, allocations: 116.5 kB / 1.2 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/1.118, allocations: 226.7 kB / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.118, allocations: 0 / 1.2 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005851/1.119, allocations: 277 kB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.119, allocations: 4 kB / 1.2 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.119, allocations: 4 kB / 1.2 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.119, allocations: 0 / 1.2 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.119, allocations: 59.94 kB / 1.2 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.119, allocations: 4 kB / 1.2 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/1.12, allocations: 39.61 kB / 1.2 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/1.12, allocations: 8 kB / 1.2 GB, free: 6.039 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.0001895/1.12, allocations: 169.7 kB / 1.201 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/1.12, allocations: 47.44 kB / 1.201 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/1.121, allocations: 282.8 kB / 1.201 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.121, allocations: 0 / 1.201 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.121, allocations: 7.922 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.121, allocations: 3.938 kB / 1.201 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.122, allocations: 0.8167 MB / 1.202 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.122, allocations: 4 kB / 1.202 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/1.122, allocations: 43.97 kB / 1.202 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/1.122, allocations: 4 kB / 1.202 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.122, allocations: 8.188 kB / 1.202 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/1.122, allocations: 7.938 kB / 1.202 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.122, allocations: 0 / 1.202 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/1.123, allocations: 0.5037 MB / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/1.123, allocations: 144.5 kB / 1.202 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/1.123, allocations: 15.98 kB / 1.202 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/1.124, allocations: 27.92 kB / 1.202 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/1.124, allocations: 15.97 kB / 1.202 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/1.124, allocations: 12 kB / 1.202 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003621/1.124, allocations: 303.1 kB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.124, allocations: 0 / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004859/1.125, allocations: 111.8 kB / 1.203 GB, free: 3.391 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.0005282/1.125, allocations: 201 kB / 1.203 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005205/1.126, allocations: 210.7 kB / 1.203 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.126, allocations: 0 / 1.203 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/1.126, allocations: 107.8 kB / 1.203 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.127, allocations: 214.9 kB / 1.204 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/1.129, allocations: 1.072 MB / 1.205 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.129, allocations: 0.8236 MB / 1.205 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.13, allocations: 39.44 kB / 1.205 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/1.13, allocations: 0 / 1.205 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of Templates: time 0.01227/1.142, allocations: 6.577 MB / 1.212 GB, free: 10.16 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches