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.001672/0.001672, allocations: 108 kB / 15.6 MB, free: 128 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.001681/0.001681, allocations: 197.8 kB / 16.53 MB, free: 6.668 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.79/2.79, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6418, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2117/0.8536, allocations: 173.8 MB / 1.187 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.8579, allocations: 2.314 MB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.8584, allocations: 11.94 kB / 1.189 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.8591, allocations: 230.3 kB / 1.19 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.8613, allocations: 0.9255 MB / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.8634, allocations: 0.8216 MB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.8647, allocations: 0.9585 MB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005101/0.8652, allocations: 323 kB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.8659, allocations: 462.4 kB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.8663, allocations: 318.6 kB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.8664, allocations: 32 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.8683, allocations: 0.9898 MB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.8685, allocations: 151.5 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.8688, allocations: 238.8 kB / 1.195 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.8702, allocations: 0.8844 MB / 1.195 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8703, allocations: 7.875 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8703, allocations: 0 / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.8703, allocations: 0 / 1.195 GB, free: 11.33 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.001367/0.8717, allocations: 0.8022 MB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.8717, allocations: 8.031 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.873, allocations: 183.2 kB / 1.196 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.8736, allocations: 381.3 kB / 1.197 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.8737, allocations: 20.66 kB / 1.197 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.8737, allocations: 32 kB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.8744, allocations: 373.1 kB / 1.197 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.8744, allocations: 0 / 1.197 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.8745, allocations: 12 kB / 1.197 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.8745, allocations: 15.94 kB / 1.197 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.8751, allocations: 258 kB / 1.197 GB, free: 9.156 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.002073/0.8771, allocations: 1.687 MB / 1.199 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.8776, allocations: 198.5 kB / 1.199 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.8778, allocations: 118.6 kB / 1.199 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.8791, allocations: 0.8778 MB / 1.2 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.8792, allocations: 38.56 kB / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.8792, allocations: 0 / 1.2 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001025/0.8802, allocations: 350.5 kB / 1.201 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.8803, allocations: 63.41 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.8808, allocations: 421.9 kB / 1.201 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.8808, allocations: 29.7 kB / 1.201 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.881, allocations: 212.2 kB / 1.201 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.8811, allocations: 82.84 kB / 1.201 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/0.8812, allocations: 49.61 kB / 1.201 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.8814, allocations: 354.7 kB / 1.202 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.8816, allocations: 83.94 kB / 1.202 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.8819, allocations: 121.5 kB / 1.202 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.8823, allocations: 210.5 kB / 1.202 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8823, allocations: 0 / 1.202 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000571/0.8829, allocations: 281 kB / 1.202 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8829, allocations: 8.109 kB / 1.202 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8829, allocations: 3.938 kB / 1.202 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.8829, allocations: 0 / 1.202 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.8832, allocations: 51.91 kB / 1.203 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8832, allocations: 4 kB / 1.203 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.8835, allocations: 31.62 kB / 1.203 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.8835, allocations: 20.02 kB / 1.203 GB, free: 3.504 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.0001946/0.8837, allocations: 161.8 kB / 1.203 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.8838, allocations: 43.44 kB / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.8845, allocations: 289.1 kB / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8845, allocations: 0 / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8845, allocations: 0 / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8845, allocations: 3.938 kB / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.8859, allocations: 0.8125 MB / 1.204 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.8859, allocations: 8.031 kB / 1.204 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.8861, allocations: 39.97 kB / 1.204 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.8862, allocations: 4 kB / 1.204 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.8862, allocations: 8 kB / 1.204 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8862, allocations: 7.938 kB / 1.204 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8862, allocations: 0 / 1.204 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.8871, allocations: 0.5133 MB / 1.204 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.8873, allocations: 148.5 kB / 1.205 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.8873, allocations: 8 kB / 1.205 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.8876, allocations: 16.17 kB / 1.205 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.8877, allocations: 15.98 kB / 1.205 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.8877, allocations: 19.97 kB / 1.205 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003698/0.8881, allocations: 307 kB / 1.205 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8881, allocations: 0 / 1.205 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004769/0.8886, allocations: 111.8 kB / 1.205 GB, free: 0.8711 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.0005014/0.8891, allocations: 191.5 kB / 1.205 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005818/0.8897, allocations: 211.8 kB / 1.205 GB, free: 484 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8897, allocations: 0 / 1.205 GB, free: 484 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.8899, allocations: 115.8 kB / 1.206 GB, free: 368 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.8911, allocations: 224.2 kB / 1.206 GB, free: 144 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.8929, allocations: 0.907 MB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.8935, allocations: 0.8272 MB / 1.207 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.8938, allocations: 75.36 kB / 1.207 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.8939, allocations: 39.42 kB / 1.208 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.8939, allocations: 0 / 1.208 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of Templates: time 0.01675/0.9106, allocations: 8.058 MB / 1.215 GB, free: 6.309 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