Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.001264/0.001265, 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.001332/0.001332, allocations: 192 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.12/2.12, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.512, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1932/0.7052, allocations: 218.2 MB / 1.163 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.732, allocations: 26.47 MB / 1.189 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.7334, allocations: 31.81 kB / 1.189 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.736, allocations: 1.158 MB / 1.19 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006579/0.7426, allocations: 3.131 MB / 1.193 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.7462, allocations: 1.658 MB / 1.194 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004004/0.7502, allocations: 3.845 MB / 1.198 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.7521, allocations: 1.456 MB / 1.2 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.7559, allocations: 2.269 MB / 1.202 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.7576, allocations: 1.475 MB / 1.203 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.7579, allocations: 124 kB / 1.203 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.7611, allocations: 1.781 MB / 1.205 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.7617, allocations: 0.8606 MB / 1.206 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.7628, allocations: 1.169 MB / 1.207 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.766, allocations: 2.967 MB / 1.21 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.766, allocations: 0 / 1.21 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.766, allocations: 3.938 kB / 1.21 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.97e-05/0.766, allocations: 0 / 1.21 GB, free: 6.262 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003448/0.7695, allocations: 2.854 MB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7695, allocations: 12.02 kB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.7697, allocations: 206.5 kB / 1.213 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.7713, allocations: 440.3 kB / 1.213 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.7738, allocations: 2.737 MB / 1.216 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.7739, allocations: 102.5 kB / 1.216 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7741, allocations: 132 kB / 1.216 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.7759, allocations: 1.595 MB / 1.218 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.7759, allocations: 3.938 kB / 1.218 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.776, allocations: 55.98 kB / 1.218 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.434e-05/0.7761, allocations: 89.95 kB / 1.218 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.7775, allocations: 1.065 MB / 1.219 GB, free: 12.7 MB / 0.9825 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.00641/0.784, allocations: 8.487 MB / 1.227 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.7848, allocations: 0.7233 MB / 1.228 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.7852, allocations: 312 kB / 1.228 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.7857, allocations: 0.6129 MB / 1.229 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7858, allocations: 42.56 kB / 1.229 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 3.897e-06/0.7858, allocations: 0 / 1.229 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.001441/0.7872, allocations: 0.9754 MB / 1.23 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.7873, allocations: 166.2 kB / 1.23 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.7917, allocations: 4.69 MB / 1.235 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.7917, allocations: 37.7 kB / 1.235 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007269/0.7924, allocations: 1.066 MB / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.7926, allocations: 173.4 kB / 1.236 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.7927, allocations: 106.3 kB / 1.236 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.7928, allocations: 322 kB / 1.236 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.7931, allocations: 217 kB / 1.237 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.7935, allocations: 326.9 kB / 1.237 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.7942, allocations: 0.5571 MB / 1.237 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7942, allocations: 4 kB / 1.237 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001044/0.7953, allocations: 0.803 MB / 1.238 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7953, allocations: 7.938 kB / 1.238 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7953, allocations: 4 kB / 1.238 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7953, allocations: 4 kB / 1.238 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.7957, allocations: 103.9 kB / 1.238 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7957, allocations: 7.938 kB / 1.238 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.7964, allocations: 90.89 kB / 1.238 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.7964, allocations: 20.19 kB / 1.238 GB, free: 8.012 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0005689/0.797, allocations: 0.5444 MB / 1.239 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.7973, allocations: 229 kB / 1.239 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.7984, allocations: 0.8079 MB / 1.24 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.7984, allocations: 11.98 kB / 1.24 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7984, allocations: 4 kB / 1.24 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.7984, allocations: 7.984 kB / 1.24 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.8008, allocations: 2.088 MB / 1.242 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.8008, allocations: 0 / 1.242 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.8012, allocations: 99.88 kB / 1.242 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.8012, allocations: 4 kB / 1.242 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.8012, allocations: 16 kB / 1.242 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8012, allocations: 7.938 kB / 1.242 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8013, allocations: 0 / 1.242 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.8027, allocations: 1.27 MB / 1.243 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.8032, allocations: 417.9 kB / 1.244 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.8035, allocations: 12 kB / 1.244 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.8041, allocations: 27.92 kB / 1.244 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.8042, allocations: 36.33 kB / 1.244 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.8042, allocations: 24 kB / 1.244 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3499/1.154, allocations: 3.508 MB / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.12e-07/1.154, allocations: 0 / 1.247 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001296/1.155, allocations: 470.5 kB / 1.248 GB, free: 285.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.002736/1.158, allocations: 2.25 MB / 1.25 GB, free: 284.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.159, allocations: 0.6098 MB / 1.251 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.159, allocations: 0.6875 kB / 1.251 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/1.16, allocations: 296.9 kB / 1.251 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.163, allocations: 0.8553 MB / 1.252 GB, free: 284.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/1.185, allocations: 21.38 MB / 1.273 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/1.186, allocations: 1.633 MB / 1.274 GB, free: 272.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001356/1.187, allocations: 469.4 kB / 1.275 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/1.188, allocations: 0.9429 MB / 1.276 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.188, allocations: 4 kB / 1.276 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/1.248, allocations: 48.7 MB / 1.323 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/8.758, allocations: 10.88 kB / 1.323 GB, free: 227.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches