Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005729/0.005729, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001174/0.001174, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 60.11 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8432, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1824/1.026, allocations: 173.8 MB / 1.377 GB, free: 15.22 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004082/1.03, allocations: 2.298 MB / 1.38 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/1.03, allocations: 11.94 kB / 1.38 GB, free: 12.9 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008227/1.031, allocations: 234.4 kB / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/1.033, allocations: 0.9255 MB / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/1.035, allocations: 0.823 MB / 1.382 GB, free: 10.92 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001223/1.037, allocations: 0.974 MB / 1.383 GB, free: 9.945 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/1.037, allocations: 327.5 kB / 1.383 GB, free: 9.625 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/1.038, allocations: 462.3 kB / 1.383 GB, free: 9.172 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/1.038, allocations: 310.7 kB / 1.384 GB, free: 8.867 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/1.038, allocations: 32 kB / 1.384 GB, free: 8.836 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/1.04, allocations: 0.9976 MB / 1.385 GB, free: 7.836 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/1.04, allocations: 143.5 kB / 1.385 GB, free: 7.695 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/1.04, allocations: 238.8 kB / 1.385 GB, free: 7.461 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.042, allocations: 0.9017 MB / 1.386 GB, free: 6.559 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.042, allocations: 3.938 kB / 1.386 GB, free: 6.555 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.004e-06/1.042, allocations: 4 kB / 1.386 GB, free: 6.551 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.042, allocations: 0 / 1.386 GB, free: 6.551 MB / 1.107 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.00122/1.043, allocations: 0.7983 MB / 1.387 GB, free: 5.703 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.043, allocations: 8.031 kB / 1.387 GB, free: 5.695 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.044, allocations: 195.1 kB / 1.387 GB, free: 5.504 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/1.045, allocations: 385.4 kB / 1.387 GB, free: 5.086 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.045, allocations: 28.66 kB / 1.387 GB, free: 5.059 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/1.045, allocations: 35.91 kB / 1.387 GB, free: 5.023 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/1.046, allocations: 369.1 kB / 1.388 GB, free: 4.629 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.046, allocations: 0 / 1.388 GB, free: 4.629 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/1.046, allocations: 19.94 kB / 1.388 GB, free: 4.609 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/1.046, allocations: 8 kB / 1.388 GB, free: 4.602 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/1.046, allocations: 266 kB / 1.388 GB, free: 4.344 MB / 1.107 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.001719/1.048, allocations: 1.664 MB / 1.39 GB, free: 2.543 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/1.048, allocations: 210.5 kB / 1.39 GB, free: 2.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.048, allocations: 116.8 kB / 1.39 GB, free: 2.211 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/1.049, allocations: 0.8663 MB / 1.391 GB, free: 1.16 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.049, allocations: 42.48 kB / 1.391 GB, free: 1.109 MB / 1.107 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/1.049, allocations: 0 / 1.391 GB, free: 1.109 MB / 1.107 GB Notification: Performance of matching and sorting (n=23): time 0.0008641/1.05, allocations: 362.5 kB / 1.391 GB, free: 0.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.05, allocations: 51.41 kB / 1.391 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/1.051, allocations: 425.9 kB / 1.392 GB, free: 272 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/1.051, allocations: 29.7 kB / 1.392 GB, free: 236 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.051, allocations: 212.3 kB / 1.392 GB, free: 20 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/1.051, allocations: 86.92 kB / 1.392 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/1.051, allocations: 49.7 kB / 1.392 GB, free: 15.88 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.051, allocations: 358.7 kB / 1.392 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/1.052, allocations: 75.95 kB / 1.392 GB, free: 15.44 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.052, allocations: 123.4 kB / 1.392 GB, free: 15.31 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/1.052, allocations: 210 kB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.052, allocations: 0 / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005124/1.053, allocations: 284.9 kB / 1.393 GB, free: 14.81 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.053, allocations: 7.938 kB / 1.393 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.053, allocations: 4.031 kB / 1.393 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.053, allocations: 4 kB / 1.393 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/1.053, allocations: 47.97 kB / 1.393 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.053, allocations: 3.938 kB / 1.393 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/1.053, allocations: 35.67 kB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/1.053, allocations: 11.94 kB / 1.393 GB, free: 14.7 MB / 1.123 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.000161/1.053, allocations: 153.8 kB / 1.393 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/1.054, allocations: 43.53 kB / 1.393 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/1.054, allocations: 298.7 kB / 1.393 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.054, allocations: 4 kB / 1.393 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.054, allocations: 3.938 kB / 1.394 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.054, allocations: 3.984 kB / 1.394 GB, free: 14.18 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/1.055, allocations: 0.8134 MB / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.055, allocations: 0 / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/1.056, allocations: 43.92 kB / 1.394 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.056, allocations: 0 / 1.394 GB, free: 13.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/1.056, allocations: 11.98 kB / 1.394 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.056, allocations: 4.188 kB / 1.394 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.056, allocations: 8 kB / 1.394 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/1.056, allocations: 0.5062 MB / 1.395 GB, free: 12.69 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1.057, allocations: 148.5 kB / 1.395 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/1.057, allocations: 4 kB / 1.395 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.057, allocations: 15.98 kB / 1.395 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/1.057, allocations: 23.91 kB / 1.395 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/1.057, allocations: 12 kB / 1.395 GB, free: 12.47 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002774/1.057, allocations: 303.1 kB / 1.395 GB, free: 12.18 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.057, allocations: 0 / 1.395 GB, free: 12.18 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000418/1.058, allocations: 115.8 kB / 1.395 GB, free: 12.06 MB / 1.123 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.000403/1.058, allocations: 191.8 kB / 1.396 GB, free: 11.88 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004635/1.059, allocations: 211.8 kB / 1.396 GB, free: 11.67 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.059, allocations: 3.938 kB / 1.396 GB, free: 11.66 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/1.059, allocations: 120.2 kB / 1.396 GB, free: 11.55 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.06, allocations: 209.2 kB / 1.396 GB, free: 11.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/1.061, allocations: 0.9079 MB / 1.397 GB, free: 10.4 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/1.062, allocations: 0.8233 MB / 1.398 GB, free: 9.551 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002601/1.062, allocations: 83.34 kB / 1.398 GB, free: 9.465 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/1.062, allocations: 35.42 kB / 1.398 GB, free: 9.43 MB / 1.123 GB Notification: Performance of SimCode: time 3.51e-07/1.062, allocations: 0 / 1.398 GB, free: 9.43 MB / 1.123 GB Notification: Performance of Templates: time 0.0144/1.077, allocations: 8.08 MB / 1.406 GB, free: 1.488 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches