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.008441/0.008441, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002107/0.002107, allocations: 197.5 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 2.011/2.011, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 3.86/3.86, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003214/0.003214, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4793, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.395/1.875, allocations: 173.8 MB / 1.336 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007262/1.882, allocations: 2.297 MB / 1.338 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/1.883, allocations: 17.22 kB / 1.338 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/1.884, allocations: 231.4 kB / 1.338 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004056/1.889, allocations: 0.9312 MB / 1.339 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/1.892, allocations: 0.8218 MB / 1.34 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002515/1.895, allocations: 0.9674 MB / 1.341 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008469/1.896, allocations: 340.2 kB / 1.341 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/1.897, allocations: 450.5 kB / 1.342 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/1.898, allocations: 314.3 kB / 1.342 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/1.898, allocations: 32.69 kB / 1.342 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/1.902, allocations: 0.9952 MB / 1.343 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/1.902, allocations: 147.2 kB / 1.343 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000492/1.902, allocations: 240.4 kB / 1.343 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/1.905, allocations: 0.9025 MB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/1.905, allocations: 3.656 kB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.304e-06/1.905, allocations: 0 / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.905, allocations: 0 / 1.344 GB, free: 10.39 MB / 1.029 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.002126/1.908, allocations: 0.8269 MB / 1.345 GB, free: 9.742 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.908, allocations: 9.562 kB / 1.345 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/1.908, allocations: 67.69 kB / 1.345 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/1.91, allocations: 181.7 kB / 1.345 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.911, allocations: 395.3 kB / 1.346 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/1.911, allocations: 20.69 kB / 1.346 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/1.911, allocations: 32.31 kB / 1.346 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/1.913, allocations: 375.3 kB / 1.346 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.913, allocations: 1.25 kB / 1.346 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/1.913, allocations: 12.16 kB / 1.346 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/1.913, allocations: 16.81 kB / 1.346 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/1.914, allocations: 261.9 kB / 1.346 GB, free: 9.023 MB / 1.029 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.003043/1.917, allocations: 1.673 MB / 1.348 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/1.917, allocations: 208.8 kB / 1.348 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/1.918, allocations: 113.4 kB / 1.348 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/1.919, allocations: 0.8717 MB / 1.349 GB, free: 6.586 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/1.919, allocations: 37.53 kB / 1.349 GB, free: 6.543 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 3.657e-06/1.919, allocations: 0 / 1.349 GB, free: 6.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001422/1.921, allocations: 354.5 kB / 1.35 GB, free: 6.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/1.921, allocations: 62.69 kB / 1.35 GB, free: 6.344 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/1.922, allocations: 420 kB / 1.35 GB, free: 6.145 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/1.922, allocations: 31.77 kB / 1.35 GB, free: 6.109 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/1.922, allocations: 217.9 kB / 1.35 GB, free: 5.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.922, allocations: 91.83 kB / 1.35 GB, free: 5.855 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.922, allocations: 45.95 kB / 1.35 GB, free: 5.828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.922, allocations: 358.5 kB / 1.351 GB, free: 5.492 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/1.923, allocations: 74.53 kB / 1.351 GB, free: 5.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/1.923, allocations: 124.1 kB / 1.351 GB, free: 5.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/1.924, allocations: 209.5 kB / 1.351 GB, free: 5.312 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.924, allocations: 2.688 kB / 1.351 GB, free: 5.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008365/1.925, allocations: 286.5 kB / 1.351 GB, free: 5.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.925, allocations: 6.5 kB / 1.351 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.925, allocations: 1.062 kB / 1.351 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.925, allocations: 2.25 kB / 1.351 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.925, allocations: 50.8 kB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.925, allocations: 1.094 kB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/1.926, allocations: 39.69 kB / 1.352 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/1.926, allocations: 12.38 kB / 1.352 GB, free: 5.152 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.0002812/1.926, allocations: 168.1 kB / 1.352 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/1.926, allocations: 47.81 kB / 1.352 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009112/1.927, allocations: 284.8 kB / 1.352 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/1.927, allocations: 2.156 kB / 1.352 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.927, allocations: 3.562 kB / 1.352 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/1.927, allocations: 8.016 kB / 1.352 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/1.929, allocations: 0.8067 MB / 1.353 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.929, allocations: 3.109 kB / 1.353 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/1.929, allocations: 50.45 kB / 1.353 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/1.929, allocations: 3.125 kB / 1.353 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.929, allocations: 7.719 kB / 1.353 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.929, allocations: 3.812 kB / 1.353 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.929, allocations: 5.688 kB / 1.353 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/1.931, allocations: 0.5076 MB / 1.353 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/1.931, allocations: 148.8 kB / 1.354 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/1.931, allocations: 7.5 kB / 1.354 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/1.932, allocations: 15.44 kB / 1.354 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/1.932, allocations: 24.55 kB / 1.354 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/1.932, allocations: 11.53 kB / 1.354 GB, free: 3.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005599/1.932, allocations: 301.8 kB / 1.354 GB, free: 3.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.932, allocations: 0 / 1.354 GB, free: 3.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008302/1.933, allocations: 115.5 kB / 1.354 GB, free: 3.684 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.002079/1.935, allocations: 1.137 MB / 1.355 GB, free: 2.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007704/1.936, allocations: 216.7 kB / 1.355 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.936, allocations: 0 / 1.355 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/1.936, allocations: 111.7 kB / 1.355 GB, free: 2.715 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/1.938, allocations: 225.9 kB / 1.356 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/1.945, allocations: 3.702 MB / 1.359 GB, free: 384 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/1.946, allocations: 0.8242 MB / 1.36 GB, free: 15.67 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005614/1.947, allocations: 84.69 kB / 1.36 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/1.947, allocations: 145.4 kB / 1.36 GB, free: 15.54 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/1.947, allocations: 1.719 kB / 1.36 GB, free: 15.54 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/2.01, allocations: 12.1 MB / 1.372 GB, free: 10.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/17.8, allocations: 9.875 kB / 1.372 GB, free: 10.28 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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