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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001112/0.001112, 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.001703/0.001704, allocations: 177.3 kB / 16.92 MB, free: 6.648 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.514/1.514, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.914/2.914, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 15.47 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.195/0.5632, allocations: 169.3 MB / 1.225 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004262/0.5675, allocations: 2.287 MB / 1.227 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.568, allocations: 15.88 kB / 1.227 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007577/0.5688, allocations: 186.8 kB / 1.227 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.5711, allocations: 0.8714 MB / 1.228 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.5732, allocations: 0.7588 MB / 1.229 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.575, allocations: 1.348 MB / 1.23 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.5755, allocations: 270.3 kB / 1.23 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007451/0.5763, allocations: 406.4 kB / 1.231 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.5767, allocations: 326.6 kB / 1.231 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.5768, allocations: 16 kB / 1.231 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.579, allocations: 1.169 MB / 1.232 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.5792, allocations: 123.6 kB / 1.232 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.5795, allocations: 256.4 kB / 1.232 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008635/0.5803, allocations: 0.6236 MB / 1.233 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5804, allocations: 0 / 1.233 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5804, allocations: 0 / 1.233 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5804, allocations: 0 / 1.233 GB, free: 2.34 MB / 0.9825 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.001241/0.5816, allocations: 0.7244 MB / 1.234 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5817, allocations: 15.97 kB / 1.234 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.5829, allocations: 175.2 kB / 1.234 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.5835, allocations: 385.3 kB / 1.234 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.5836, allocations: 24.66 kB / 1.234 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.5836, allocations: 28 kB / 1.234 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006628/0.5843, allocations: 385.1 kB / 1.235 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5843, allocations: 0 / 1.235 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.5844, allocations: 12 kB / 1.235 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.5844, allocations: 11.94 kB / 1.235 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.5849, allocations: 274 kB / 1.235 GB, free: 220 kB / 0.9825 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.001958/0.5869, allocations: 1.667 MB / 1.237 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.5873, allocations: 214.5 kB / 1.237 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.5876, allocations: 124.7 kB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.5887, allocations: 0.8857 MB / 1.238 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.5887, allocations: 30.56 kB / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.5888, allocations: 0 / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009507/0.5897, allocations: 378.1 kB / 1.238 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5898, allocations: 55.41 kB / 1.238 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.5902, allocations: 426 kB / 1.239 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.5903, allocations: 29.7 kB / 1.239 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.5905, allocations: 212.2 kB / 1.239 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.5906, allocations: 82.84 kB / 1.239 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.5906, allocations: 29.7 kB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5908, allocations: 354.7 kB / 1.239 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.591, allocations: 91.89 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.5912, allocations: 132 kB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.5917, allocations: 223.1 kB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5917, allocations: 0 / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005487/0.5922, allocations: 293.1 kB / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5923, allocations: 11.94 kB / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5923, allocations: 0 / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5923, allocations: 4 kB / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.5926, allocations: 55.91 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5926, allocations: 7.938 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.5929, allocations: 43.67 kB / 1.24 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.5929, allocations: 11.98 kB / 1.24 GB, free: 10.49 MB / 0.9981 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.0001786/0.5931, allocations: 161.8 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.5932, allocations: 39.53 kB / 1.24 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.5938, allocations: 300 kB / 1.241 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5938, allocations: 0 / 1.241 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5938, allocations: 3.938 kB / 1.241 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5939, allocations: 4 kB / 1.241 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.5952, allocations: 0.8243 MB / 1.242 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5952, allocations: 0 / 1.242 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.5954, allocations: 56.09 kB / 1.242 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5954, allocations: 4 kB / 1.242 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.5954, allocations: 8 kB / 1.242 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.5955, allocations: 4 kB / 1.242 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5955, allocations: 3.984 kB / 1.242 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008129/0.5963, allocations: 0.5193 MB / 1.242 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.5964, allocations: 148.6 kB / 1.242 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.5965, allocations: 0 / 1.242 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.5968, allocations: 27.97 kB / 1.242 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.5969, allocations: 23.92 kB / 1.242 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5969, allocations: 11.94 kB / 1.242 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003255/0.5972, allocations: 299.1 kB / 1.243 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5972, allocations: 0 / 1.243 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004569/0.5977, allocations: 123.8 kB / 1.243 GB, free: 7.812 MB / 0.9981 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.0004634/0.5982, allocations: 188.4 kB / 1.243 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.5987, allocations: 223.7 kB / 1.243 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5987, allocations: 3.938 kB / 1.243 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.5989, allocations: 117.4 kB / 1.243 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.6002, allocations: 212.1 kB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6019, allocations: 1.143 MB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.6024, allocations: 0.8274 MB / 1.245 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.6025, allocations: 39.44 kB / 1.245 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.6025, allocations: 4 kB / 1.245 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of Templates: time 0.6178/1.22, allocations: 6.519 MB / 1.252 GB, free: 191.8 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches