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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.001184/0.001184, 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.001114/0.001114, allocations: 193.7 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.139/1.139, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.335/2.335, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 67.14 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2166, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1552/0.3718, allocations: 173.8 MB / 1.233 GB, free: 4 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3757, allocations: 2.287 MB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.3762, allocations: 19.81 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.3769, allocations: 226.4 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.3791, allocations: 0.9372 MB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.381, allocations: 0.8228 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.3821, allocations: 0.9701 MB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.3826, allocations: 327.5 kB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.3832, allocations: 446.3 kB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.3836, allocations: 318.6 kB / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.3837, allocations: 32 kB / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.3854, allocations: 0.9898 MB / 1.241 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3856, allocations: 151.6 kB / 1.241 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3858, allocations: 238.8 kB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.387, allocations: 0.896 MB / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3871, allocations: 0 / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3871, allocations: 0 / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3871, allocations: 0 / 1.242 GB, free: 7.352 MB / 0.9981 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.001185/0.3883, allocations: 0.8022 MB / 1.243 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3883, allocations: 8.031 kB / 1.243 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.149e-05/0.3884, allocations: 66.53 kB / 1.243 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3897, allocations: 187 kB / 1.243 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.3902, allocations: 369.5 kB / 1.243 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3902, allocations: 24.66 kB / 1.243 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.3902, allocations: 35.89 kB / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.3909, allocations: 373.1 kB / 1.244 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3909, allocations: 3.938 kB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.3909, allocations: 12 kB / 1.244 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.391, allocations: 11.94 kB / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.3915, allocations: 262 kB / 1.244 GB, free: 5.102 MB / 0.9981 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.001751/0.3932, allocations: 1.675 MB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3936, allocations: 206.5 kB / 1.246 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.3939, allocations: 119.2 kB / 1.246 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.395, allocations: 0.8701 MB / 1.247 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.395, allocations: 34.5 kB / 1.247 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/0.395, allocations: 0 / 1.247 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009884/0.396, allocations: 364.8 kB / 1.247 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3961, allocations: 51.41 kB / 1.247 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004384/0.3965, allocations: 430 kB / 1.248 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3966, allocations: 33.64 kB / 1.248 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3967, allocations: 208.3 kB / 1.248 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3968, allocations: 86.73 kB / 1.248 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.3969, allocations: 49.7 kB / 1.248 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.397, allocations: 354.7 kB / 1.248 GB, free: 284 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3972, allocations: 87.88 kB / 1.248 GB, free: 196 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.3974, allocations: 127.3 kB / 1.248 GB, free: 56 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4377/0.8351, allocations: 207.3 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.8352, allocations: 0.75 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006701/0.8359, allocations: 277.9 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.8359, allocations: 6.031 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8359, allocations: 3.75 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.8359, allocations: 1.625 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.8362, allocations: 51.89 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8362, allocations: 2.406 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.8365, allocations: 35.45 kB / 1.249 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.8366, allocations: 12.77 kB / 1.249 GB, free: 189.5 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.0001706/0.8367, allocations: 162.8 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.8368, allocations: 42.5 kB / 1.249 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/0.8375, allocations: 287.3 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.8375, allocations: 2.75 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8375, allocations: 5.594 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8376, allocations: 2.828 kB / 1.249 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.8389, allocations: 0.8083 MB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8389, allocations: 2.156 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.8392, allocations: 45.95 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.8392, allocations: 7.281 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.8392, allocations: 7.562 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8392, allocations: 3.891 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8392, allocations: 1.562 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.8401, allocations: 0.5059 MB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.8402, allocations: 144.1 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.8403, allocations: 6.953 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.8406, allocations: 19.12 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.8407, allocations: 18.12 kB / 1.251 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.8407, allocations: 13.22 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003446/0.8411, allocations: 305.1 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8411, allocations: 0.7812 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005038/0.8416, allocations: 113.1 kB / 1.251 GB, free: 188.6 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.001313/0.8429, allocations: 1.138 MB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.8435, allocations: 217.7 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8435, allocations: 1 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.8438, allocations: 109.1 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.845, allocations: 230.1 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.8495, allocations: 3.743 MB / 1.257 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.8497, allocations: 0.8266 MB / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.8501, allocations: 81.27 kB / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.8503, allocations: 137.6 kB / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.8503, allocations: 0 / 1.258 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.8938, allocations: 12 MB / 1.269 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.752, allocations: 6.672 kB / 1.269 GB, free: 184.1 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/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