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.001592/0.001592, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001742/0.001742, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 68.16 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3943, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.001/1.396, allocations: 173.8 MB / 1.234 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004093/1.4, allocations: 2.304 MB / 1.236 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/1.4, allocations: 17.56 kB / 1.236 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/1.401, allocations: 227.3 kB / 1.236 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/1.404, allocations: 0.9287 MB / 1.237 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/1.406, allocations: 0.8152 MB / 1.238 GB, free: 7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001365/1.407, allocations: 0.9662 MB / 1.239 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004969/1.408, allocations: 339.6 kB / 1.239 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/1.409, allocations: 458.3 kB / 1.24 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/1.409, allocations: 310.7 kB / 1.24 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/1.409, allocations: 32 kB / 1.24 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/1.411, allocations: 0.9898 MB / 1.241 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/1.411, allocations: 143.5 kB / 1.241 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/1.412, allocations: 238.8 kB / 1.241 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/1.413, allocations: 0.8921 MB / 1.242 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.413, allocations: 3.984 kB / 1.242 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/1.413, allocations: 0 / 1.242 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.413, allocations: 0 / 1.242 GB, free: 2.645 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.001286/1.414, allocations: 0.8067 MB / 1.243 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.414, allocations: 8.625 kB / 1.243 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/1.416, allocations: 179.2 kB / 1.243 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/1.416, allocations: 373.4 kB / 1.244 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.416, allocations: 24.66 kB / 1.244 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/1.416, allocations: 31.94 kB / 1.244 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/1.417, allocations: 369.1 kB / 1.244 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/1.417, allocations: 3.938 kB / 1.244 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/1.417, allocations: 16 kB / 1.244 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/1.417, allocations: 8 kB / 1.244 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/1.418, allocations: 262 kB / 1.244 GB, free: 488 kB / 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.001916/1.42, allocations: 1.683 MB / 1.246 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/1.42, allocations: 206.4 kB / 1.246 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/1.42, allocations: 116.8 kB / 1.246 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/1.421, allocations: 0.8701 MB / 1.247 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/1.421, allocations: 42.5 kB / 1.247 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/1.421, allocations: 0 / 1.247 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.0009215/1.422, allocations: 354.6 kB / 1.248 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.422, allocations: 55.41 kB / 1.248 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/1.423, allocations: 425.9 kB / 1.248 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.423, allocations: 29.7 kB / 1.248 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/1.423, allocations: 212.2 kB / 1.248 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/1.423, allocations: 90.73 kB / 1.248 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/1.423, allocations: 49.7 kB / 1.248 GB, free: 12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.423, allocations: 350.7 kB / 1.249 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.424, allocations: 83.88 kB / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/1.424, allocations: 131.3 kB / 1.249 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/1.424, allocations: 204.7 kB / 1.249 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.424, allocations: 0 / 1.249 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005298/1.425, allocations: 287.6 kB / 1.249 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.425, allocations: 8 kB / 1.249 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.425, allocations: 0 / 1.249 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.425, allocations: 0 / 1.249 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.425, allocations: 51.91 kB / 1.249 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.425, allocations: 4 kB / 1.249 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/1.425, allocations: 27.69 kB / 1.249 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/1.425, allocations: 19.92 kB / 1.249 GB, free: 10.82 MB / 0.9669 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.0001734/1.426, allocations: 165.8 kB / 1.25 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/1.426, allocations: 43.44 kB / 1.25 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/1.426, allocations: 281.3 kB / 1.25 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.426, allocations: 3.984 kB / 1.25 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.426, allocations: 112 / 1.25 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.426, allocations: 7.938 kB / 1.25 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/1.427, allocations: 0.8095 MB / 1.251 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.428, allocations: 4.188 kB / 1.251 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/1.428, allocations: 51.84 kB / 1.251 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.428, allocations: 4 kB / 1.251 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.428, allocations: 8 kB / 1.251 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.428, allocations: 5.938 kB / 1.251 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.428, allocations: 0 / 1.251 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/1.429, allocations: 0.5076 MB / 1.251 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/1.429, allocations: 148.5 kB / 1.251 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/1.429, allocations: 8 kB / 1.251 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/1.429, allocations: 19.98 kB / 1.252 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/1.429, allocations: 15.92 kB / 1.252 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/1.429, allocations: 15.98 kB / 1.252 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003318/1.43, allocations: 295.1 kB / 1.252 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/1.43, allocations: 3.938 kB / 1.252 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004595/1.43, allocations: 115.8 kB / 1.252 GB, free: 8.188 MB / 0.9669 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.0004888/1.431, allocations: 202.4 kB / 1.252 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005235/1.431, allocations: 217.7 kB / 1.252 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.431, allocations: 0 / 1.252 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/1.431, allocations: 111.8 kB / 1.252 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.432, allocations: 222.9 kB / 1.253 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/1.434, allocations: 0.9402 MB / 1.254 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/1.434, allocations: 0.8311 MB / 1.254 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.435, allocations: 35.44 kB / 1.254 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/1.435, allocations: 0 / 1.254 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of Templates: time 0.01005/1.445, allocations: 6.603 MB / 1.261 GB, free: 15.05 MB / 0.9825 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