Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_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.001205/0.001205, allocations: 108 kB / 15.6 MB, free: 132 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.001127/0.001127, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.183/1.183, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.254/2.254, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4588, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1511/0.61, allocations: 173.8 MB / 1.187 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.6132, allocations: 2.298 MB / 1.189 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.6136, allocations: 15.94 kB / 1.189 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.6142, allocations: 230.3 kB / 1.19 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6159, allocations: 0.9333 MB / 1.191 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.6176, allocations: 0.8187 MB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009879/0.6186, allocations: 0.9583 MB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.619, allocations: 331 kB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.6197, allocations: 458.3 kB / 1.193 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.6201, allocations: 314.6 kB / 1.193 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.6201, allocations: 32 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.6215, allocations: 0.9859 MB / 1.194 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.6217, allocations: 151.5 kB / 1.194 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.6219, allocations: 238.8 kB / 1.195 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.623, allocations: 0.8843 MB / 1.196 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.623, allocations: 4 kB / 1.196 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6231, allocations: 0 / 1.196 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.6231, allocations: 0 / 1.196 GB, free: 11.34 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.001202/0.6243, allocations: 0.8099 MB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.6243, allocations: 12.03 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.03e-05/0.6244, allocations: 66.53 kB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6256, allocations: 175.2 kB / 1.197 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.626, allocations: 373.4 kB / 1.197 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.6261, allocations: 28.66 kB / 1.197 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.6261, allocations: 28 kB / 1.197 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.6267, allocations: 377.1 kB / 1.197 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6267, allocations: 4 kB / 1.197 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.6267, allocations: 8 kB / 1.197 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.6268, allocations: 15.94 kB / 1.197 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.6272, allocations: 262 kB / 1.198 GB, free: 9.078 MB / 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.001571/0.6288, allocations: 1.687 MB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.6292, allocations: 202.5 kB / 1.199 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.6294, allocations: 112.8 kB / 1.2 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009153/0.6303, allocations: 0.8739 MB / 1.2 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.6303, allocations: 38.55 kB / 1.2 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.6303, allocations: 0 / 1.2 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0007938/0.6311, allocations: 352.1 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.6312, allocations: 55.41 kB / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.6316, allocations: 425.9 kB / 1.201 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.6316, allocations: 33.7 kB / 1.201 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.6318, allocations: 212.2 kB / 1.202 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.6318, allocations: 78.86 kB / 1.202 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.6319, allocations: 53.72 kB / 1.202 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.632, allocations: 358.7 kB / 1.202 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.6322, allocations: 79.95 kB / 1.202 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.6324, allocations: 129.5 kB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.6328, allocations: 202.5 kB / 1.202 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6328, allocations: 0 / 1.202 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000486/0.6333, allocations: 285.1 kB / 1.203 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6333, allocations: 4 kB / 1.203 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6333, allocations: 4 kB / 1.203 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6333, allocations: 0 / 1.203 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.6335, allocations: 55.91 kB / 1.203 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6336, allocations: 7.938 kB / 1.203 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.6338, allocations: 31.67 kB / 1.203 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.6338, allocations: 8 kB / 1.203 GB, free: 3.434 MB / 0.9512 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.0001394/0.6339, allocations: 165.8 kB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.634, allocations: 43.44 kB / 1.203 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.6345, allocations: 281.1 kB / 1.203 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6345, allocations: 4 kB / 1.203 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6346, allocations: 3.938 kB / 1.203 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6346, allocations: 3.984 kB / 1.203 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.6356, allocations: 0.8165 MB / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6357, allocations: 192 / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.6359, allocations: 47.98 kB / 1.204 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6359, allocations: 4 kB / 1.204 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.6359, allocations: 7.984 kB / 1.204 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6359, allocations: 7.938 kB / 1.204 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6359, allocations: 0 / 1.204 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.6366, allocations: 0.5088 MB / 1.205 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.6368, allocations: 148.5 kB / 1.205 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.6368, allocations: 4 kB / 1.205 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.6371, allocations: 19.98 kB / 1.205 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.6371, allocations: 23.97 kB / 1.205 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.6372, allocations: 7.938 kB / 1.205 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002742/0.6374, allocations: 307.1 kB / 1.205 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6374, allocations: 0 / 1.205 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003857/0.6378, allocations: 119.8 kB / 1.205 GB, free: 0.793 MB / 0.9512 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.001141/0.639, allocations: 1.14 MB / 1.206 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.6394, allocations: 223.7 kB / 1.207 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6395, allocations: 0 / 1.207 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.6397, allocations: 109.4 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6407, allocations: 228.4 kB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.6448, allocations: 3.738 MB / 1.21 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.6452, allocations: 0.8194 MB / 1.211 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.6454, allocations: 91.31 kB / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6456, allocations: 139.4 kB / 1.212 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.6456, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.288/2.934, allocations: 11.98 MB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/15.29, allocations: 6.312 kB / 1.223 GB, free: 14.36 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches