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.001357/0.001357, allocations: 106.4 kB / 16.41 MB, free: 6.008 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.001334/0.001334, allocations: 185.4 kB / 17.34 MB, free: 5.629 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.407/2.407, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2441/1.368, allocations: 173.8 MB / 1.258 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004824/1.373, allocations: 2.303 MB / 1.261 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008671/1.374, allocations: 11.94 kB / 1.261 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/1.375, allocations: 238.3 kB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/1.378, allocations: 0.9333 MB / 1.262 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002654/1.381, allocations: 0.8167 MB / 1.263 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001763/1.382, allocations: 0.9585 MB / 1.263 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007407/1.383, allocations: 342.9 kB / 1.264 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/1.384, allocations: 454.3 kB / 1.264 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/1.385, allocations: 310.7 kB / 1.265 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/1.385, allocations: 32 kB / 1.265 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/1.387, allocations: 0.9937 MB / 1.266 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/1.387, allocations: 159.5 kB / 1.266 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004432/1.388, allocations: 230.9 kB / 1.266 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/1.39, allocations: 0.9017 MB / 1.267 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.39, allocations: 0 / 1.267 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/1.39, allocations: 0 / 1.267 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.221e-05/1.39, allocations: 4 kB / 1.267 GB, free: 7.238 MB / 0.9981 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.001738/1.392, allocations: 0.8099 MB / 1.268 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.392, allocations: 12.03 kB / 1.268 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/1.393, allocations: 179.1 kB / 1.268 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/1.394, allocations: 389.4 kB / 1.268 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/1.394, allocations: 20.66 kB / 1.268 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/1.394, allocations: 32 kB / 1.268 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/1.395, allocations: 369.1 kB / 1.269 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.395, allocations: 7.922 kB / 1.269 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/1.395, allocations: 12 kB / 1.269 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/1.395, allocations: 19.94 kB / 1.269 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/1.396, allocations: 250 kB / 1.269 GB, free: 5.051 MB / 0.9981 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.002209/1.398, allocations: 1.675 MB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/1.398, allocations: 198.5 kB / 1.271 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/1.398, allocations: 118.4 kB / 1.271 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.4, allocations: 0.8777 MB / 1.272 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.4, allocations: 34.56 kB / 1.272 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/1.4, allocations: 3.938 kB / 1.272 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009513/1.401, allocations: 353.5 kB / 1.272 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.401, allocations: 59.41 kB / 1.272 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/1.401, allocations: 414 kB / 1.272 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/1.401, allocations: 33.7 kB / 1.272 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/1.401, allocations: 216.2 kB / 1.273 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/1.401, allocations: 82.75 kB / 1.273 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.402, allocations: 49.7 kB / 1.273 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.402, allocations: 354.8 kB / 1.273 GB, free: 236 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/1.402, allocations: 79.89 kB / 1.273 GB, free: 156 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/1.402, allocations: 131.3 kB / 1.273 GB, free: 12 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/1.403, allocations: 215.1 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.403, allocations: 0 / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005582/1.403, allocations: 281 kB / 1.274 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.403, allocations: 7.984 kB / 1.274 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.403, allocations: 0 / 1.274 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.403, allocations: 4 kB / 1.274 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/1.403, allocations: 47.92 kB / 1.274 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.403, allocations: 7.922 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/1.404, allocations: 35.59 kB / 1.274 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/1.404, allocations: 16.03 kB / 1.274 GB, free: 15.39 MB / 1.014 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.0001933/1.404, allocations: 166.3 kB / 1.274 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/1.404, allocations: 43.53 kB / 1.274 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/1.405, allocations: 279.8 kB / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.405, allocations: 4 kB / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.405, allocations: 3.938 kB / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.405, allocations: 0 / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/1.406, allocations: 0.8151 MB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.406, allocations: 4.188 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/1.406, allocations: 47.91 kB / 1.275 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/1.406, allocations: 4 kB / 1.275 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/1.406, allocations: 8 kB / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.406, allocations: 0 / 1.275 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.406, allocations: 4 kB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/1.407, allocations: 0.5021 MB / 1.276 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.407, allocations: 148.5 kB / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/1.407, allocations: 8 kB / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/1.408, allocations: 19.98 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/1.408, allocations: 15.92 kB / 1.276 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/1.408, allocations: 15.94 kB / 1.276 GB, free: 13.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003233/1.408, allocations: 299.1 kB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.408, allocations: 0 / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004658/1.408, allocations: 123.8 kB / 1.276 GB, free: 12.76 MB / 1.014 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.0004908/1.409, allocations: 203.5 kB / 1.277 GB, free: 12.56 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005153/1.41, allocations: 207.8 kB / 1.277 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.41, allocations: 4 kB / 1.277 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/1.41, allocations: 111.8 kB / 1.277 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.411, allocations: 215.6 kB / 1.277 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/1.413, allocations: 0.9403 MB / 1.278 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/1.413, allocations: 0.8233 MB / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.413, allocations: 43.42 kB / 1.279 GB, free: 10.16 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.413, allocations: 0 / 1.279 GB, free: 10.16 MB / 1.014 GB Notification: Performance of Templates: time 0.0118/1.425, allocations: 6.625 MB / 1.285 GB, free: 3.602 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches