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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005475/0.005476, allocations: 98.3 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.001228/0.001228, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.92 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.304, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1968/0.5008, allocations: 173.8 MB / 1.257 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.5048, allocations: 2.303 MB / 1.259 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.5054, allocations: 11.94 kB / 1.259 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008419/0.5062, allocations: 238.4 kB / 1.26 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.8132/1.319, allocations: 0.9645 MB / 1.261 GB, free: 3.863 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/1.322, allocations: 0.832 MB / 1.261 GB, free: 3.863 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001748/1.324, allocations: 0.9695 MB / 1.262 GB, free: 3.863 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006673/1.325, allocations: 329.7 kB / 1.263 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/1.326, allocations: 465.3 kB / 1.263 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/1.326, allocations: 311.5 kB / 1.263 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/1.326, allocations: 33.84 kB / 1.263 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/1.329, allocations: 0.9976 MB / 1.264 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/1.329, allocations: 153 kB / 1.265 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003514/1.329, allocations: 232.2 kB / 1.265 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/1.332, allocations: 0.9154 MB / 1.266 GB, free: 3.805 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.332, allocations: 0.7812 kB / 1.266 GB, free: 3.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/1.332, allocations: 0.9688 kB / 1.266 GB, free: 3.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.332, allocations: 0.75 kB / 1.266 GB, free: 3.805 MB / 1.014 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.001453/1.333, allocations: 0.8167 MB / 1.267 GB, free: 3.242 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.333, allocations: 10.62 kB / 1.267 GB, free: 3.242 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.424e-05/1.333, allocations: 68.75 kB / 1.267 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/1.335, allocations: 184.6 kB / 1.267 GB, free: 3.176 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007565/1.335, allocations: 399.6 kB / 1.267 GB, free: 2.922 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/1.335, allocations: 21.25 kB / 1.267 GB, free: 2.922 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/1.336, allocations: 31.41 kB / 1.267 GB, free: 2.922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/1.336, allocations: 368 kB / 1.268 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/1.336, allocations: 0.7812 kB / 1.268 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/1.336, allocations: 18.7 kB / 1.268 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/1.336, allocations: 13.5 kB / 1.268 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/1.337, allocations: 257.7 kB / 1.268 GB, free: 2.828 MB / 1.014 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.002106/1.339, allocations: 1.671 MB / 1.269 GB, free: 17.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/1.34, allocations: 213 kB / 1.27 GB, free: 17.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/1.34, allocations: 114.4 kB / 1.27 GB, free: 17.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.341, allocations: 0.8764 MB / 1.271 GB, free: 16.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/1.341, allocations: 37.75 kB / 1.271 GB, free: 16.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/1.341, allocations: 0.6875 kB / 1.271 GB, free: 16.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001203/1.342, allocations: 357.2 kB / 1.271 GB, free: 16.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.342, allocations: 58.62 kB / 1.271 GB, free: 16.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/1.343, allocations: 418.8 kB / 1.271 GB, free: 16.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/1.343, allocations: 31.95 kB / 1.271 GB, free: 16.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.343, allocations: 214.7 kB / 1.272 GB, free: 16.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/1.343, allocations: 89 kB / 1.272 GB, free: 16.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/1.343, allocations: 50.77 kB / 1.272 GB, free: 16.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.344, allocations: 353.1 kB / 1.272 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/1.344, allocations: 80.06 kB / 1.272 GB, free: 15.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/1.344, allocations: 125.3 kB / 1.272 GB, free: 15.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/1.345, allocations: 210.6 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.345, allocations: 1.812 kB / 1.273 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006184/1.345, allocations: 284 kB / 1.273 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.345, allocations: 9.188 kB / 1.273 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.345, allocations: 2.547 kB / 1.273 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.345, allocations: 4 kB / 1.273 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/1.346, allocations: 49.91 kB / 1.273 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.346, allocations: 4.703 kB / 1.273 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/1.346, allocations: 34.61 kB / 1.273 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/1.346, allocations: 12.58 kB / 1.273 GB, free: 15.79 MB / 1.029 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.0001903/1.346, allocations: 167.9 kB / 1.273 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/1.346, allocations: 45.03 kB / 1.273 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/1.347, allocations: 282.2 kB / 1.273 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.347, allocations: 3.406 kB / 1.273 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.347, allocations: 4.906 kB / 1.273 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.347, allocations: 2.844 kB / 1.273 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/1.349, allocations: 0.8106 MB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/1.349, allocations: 2.875 kB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/1.349, allocations: 50.02 kB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.349, allocations: 3.562 kB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/1.349, allocations: 11.77 kB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.349, allocations: 2.719 kB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.349, allocations: 6.672 kB / 1.274 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/1.35, allocations: 0.4991 MB / 1.275 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/1.35, allocations: 155.1 kB / 1.275 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/1.35, allocations: 8.781 kB / 1.275 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/1.35, allocations: 16.64 kB / 1.275 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/1.351, allocations: 17.55 kB / 1.275 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.351, allocations: 14.05 kB / 1.275 GB, free: 14.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004753/1.351, allocations: 301.6 kB / 1.275 GB, free: 14.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.351, allocations: 0.9688 kB / 1.275 GB, free: 14.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006301/1.352, allocations: 115.2 kB / 1.275 GB, free: 14.82 MB / 1.029 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.001546/1.353, allocations: 1.139 MB / 1.276 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000535/1.354, allocations: 205.3 kB / 1.277 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.354, allocations: 6.109 kB / 1.277 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/1.354, allocations: 115.6 kB / 1.277 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.355, allocations: 227.5 kB / 1.277 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/1.361, allocations: 3.701 MB / 1.281 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/1.361, allocations: 0.825 MB / 1.281 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000409/1.362, allocations: 84.64 kB / 1.282 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.362, allocations: 139.7 kB / 1.282 GB, free: 11.69 MB / 1.029 GB Notification: Performance of SimCode: time 1.022e-06/1.362, allocations: 0.7188 kB / 1.282 GB, free: 11.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/1.4, allocations: 12.1 MB / 1.293 GB, free: 10.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.701/10.1, allocations: 13.3 kB / 1.293 GB, free: 10.79 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/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