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.001019/0.001019, allocations: 92.23 kB / 16.02 MB, free: 80 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.001401/0.001401, allocations: 183.9 kB / 16.92 MB, free: 6.922 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.332 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.771/2.771, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004045, allocations: 11.94 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8488, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1999/1.049, allocations: 169.3 MB / 1.189 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004445/1.053, allocations: 2.299 MB / 1.191 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007344/1.054, allocations: 7.938 kB / 1.191 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009542/1.055, allocations: 186.9 kB / 1.191 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/1.058, allocations: 0.8831 MB / 1.192 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/1.06, allocations: 0.7492 MB / 1.193 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001906/1.062, allocations: 1.341 MB / 1.194 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007085/1.063, allocations: 282.3 kB / 1.195 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/1.064, allocations: 406.3 kB / 1.195 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/1.065, allocations: 322.6 kB / 1.195 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.921e-05/1.065, allocations: 16 kB / 1.195 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/1.067, allocations: 1.165 MB / 1.197 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/1.068, allocations: 123.5 kB / 1.197 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003856/1.068, allocations: 252.5 kB / 1.197 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/1.069, allocations: 0.6236 MB / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.069, allocations: 0 / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/1.069, allocations: 0 / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.624e-05/1.069, allocations: 0 / 1.197 GB, free: 13.26 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.001471/1.071, allocations: 0.7322 MB / 1.198 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.071, allocations: 8.031 kB / 1.198 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.072, allocations: 183.2 kB / 1.198 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/1.073, allocations: 373.4 kB / 1.199 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/1.073, allocations: 20.66 kB / 1.199 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/1.073, allocations: 32 kB / 1.199 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/1.074, allocations: 377.1 kB / 1.199 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/1.074, allocations: 3.938 kB / 1.199 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/1.074, allocations: 19.92 kB / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/1.074, allocations: 12 kB / 1.199 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/1.074, allocations: 278 kB / 1.199 GB, free: 11.13 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.002039/1.076, allocations: 1.668 MB / 1.201 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/1.077, allocations: 214.5 kB / 1.201 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/1.077, allocations: 120.8 kB / 1.201 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.078, allocations: 0.8818 MB / 1.202 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.078, allocations: 38.56 kB / 1.202 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/1.078, allocations: 4 kB / 1.202 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0009343/1.079, allocations: 375.2 kB / 1.203 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.079, allocations: 55.41 kB / 1.203 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/1.08, allocations: 418 kB / 1.203 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/1.08, allocations: 33.7 kB / 1.203 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.08, allocations: 212.3 kB / 1.203 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/1.08, allocations: 86.73 kB / 1.203 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/1.08, allocations: 21.72 kB / 1.203 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.08, allocations: 358.7 kB / 1.204 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/1.08, allocations: 87.95 kB / 1.204 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/1.081, allocations: 128.5 kB / 1.204 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/1.081, allocations: 222.5 kB / 1.204 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.081, allocations: 0 / 1.204 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005614/1.082, allocations: 293 kB / 1.204 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.082, allocations: 4 kB / 1.204 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/1.082, allocations: 7.938 kB / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.082, allocations: 0 / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.082, allocations: 51.97 kB / 1.205 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.082, allocations: 4.047 kB / 1.205 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/1.082, allocations: 55.55 kB / 1.205 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/1.082, allocations: 11.98 kB / 1.205 GB, free: 5.422 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.0001802/1.082, allocations: 159.1 kB / 1.205 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/1.082, allocations: 39.53 kB / 1.205 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/1.083, allocations: 302.6 kB / 1.205 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.083, allocations: 4 kB / 1.205 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.083, allocations: 3.938 kB / 1.205 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.083, allocations: 0 / 1.205 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.084, allocations: 0.8251 MB / 1.206 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/1.084, allocations: 4 kB / 1.206 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/1.085, allocations: 43.97 kB / 1.206 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/1.085, allocations: 11.94 kB / 1.206 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.085, allocations: 8 kB / 1.206 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.085, allocations: 4 kB / 1.206 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.085, allocations: 0 / 1.206 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/1.086, allocations: 0.5278 MB / 1.206 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.086, allocations: 144.6 kB / 1.207 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/1.086, allocations: 4 kB / 1.207 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/1.086, allocations: 31.97 kB / 1.207 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/1.086, allocations: 23.86 kB / 1.207 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/1.086, allocations: 8 kB / 1.207 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003247/1.087, allocations: 303.1 kB / 1.207 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.087, allocations: 0 / 1.207 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005029/1.087, allocations: 119.8 kB / 1.207 GB, free: 2.738 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.0005298/1.088, allocations: 195 kB / 1.207 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005245/1.088, allocations: 215.8 kB / 1.207 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.088, allocations: 4 kB / 1.207 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/1.088, allocations: 116.2 kB / 1.208 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.09, allocations: 216.4 kB / 1.208 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.091, allocations: 1.15 MB / 1.209 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/1.092, allocations: 0.8275 MB / 1.21 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.092, allocations: 35.44 kB / 1.21 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/1.092, allocations: 0 / 1.21 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of Templates: time 0.01101/1.103, allocations: 6.525 MB / 1.216 GB, free: 9.465 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