Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 194.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.925/2.925, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 69 kB / 1.109 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3462, allocations: 168.7 MB / 1.274 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2141/0.5602, allocations: 177.6 MB / 1.448 GB, free: 8.992 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.5816, allocations: 13.04 MB / 1.46 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.5832, allocations: 39.75 kB / 1.46 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.5849, allocations: 480.3 kB / 1.461 GB, free: 11.4 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.5885, allocations: 1.052 MB / 1.462 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.5935, allocations: 1.912 MB / 1.464 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.5971, allocations: 2.535 MB / 1.466 GB, free: 5.898 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.5993, allocations: 1.286 MB / 1.467 GB, free: 4.551 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.6034, allocations: 1.467 MB / 1.469 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.6049, allocations: 0.9103 MB / 1.47 GB, free: 2.195 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003851/0.6053, allocations: 172 kB / 1.47 GB, free: 2.027 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.6083, allocations: 1.47 MB / 1.471 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.609, allocations: 498.4 kB / 1.472 GB, free: 68 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.6103, allocations: 0.8786 MB / 1.473 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.6151, allocations: 2.818 MB / 1.475 GB, free: 12.36 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6151, allocations: 0 / 1.475 GB, free: 12.36 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6151, allocations: 0 / 1.475 GB, free: 12.36 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.118e-05/0.6151, allocations: 0 / 1.475 GB, free: 12.36 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004227/0.6193, allocations: 2.072 MB / 1.477 GB, free: 10.22 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6194, allocations: 8.031 kB / 1.477 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.6222, allocations: 426.5 kB / 1.478 GB, free: 9.793 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.6242, allocations: 1.028 MB / 1.479 GB, free: 8.719 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.6243, allocations: 102.7 kB / 1.479 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.6245, allocations: 132 kB / 1.479 GB, free: 8.488 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.6274, allocations: 1.528 MB / 1.481 GB, free: 6.883 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.6275, allocations: 0 / 1.481 GB, free: 6.883 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.6276, allocations: 60 kB / 1.481 GB, free: 6.824 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.6276, allocations: 35.94 kB / 1.481 GB, free: 6.789 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.6308, allocations: 1.587 MB / 1.482 GB, free: 5.195 MB / 1.186 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.008615/0.6394, allocations: 5.312 MB / 1.487 GB, free: 15.56 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.6422, allocations: 1.437 MB / 1.489 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009156/0.6431, allocations: 450.4 kB / 1.489 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.644, allocations: 425.2 kB / 1.49 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.6453, allocations: 0.6902 MB / 1.49 GB, free: 12.42 MB / 1.201 GB Notification: Performance of pre-optimization done (n=107): time 2.736e-06/0.6453, allocations: 0 / 1.49 GB, free: 12.42 MB / 1.201 GB Notification: Performance of matching and sorting (n=107): time 0.004706/0.65, allocations: 1.669 MB / 1.492 GB, free: 10.72 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.6502, allocations: 200.9 kB / 1.492 GB, free: 10.48 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.6516, allocations: 0.8921 MB / 1.493 GB, free: 9.57 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.6518, allocations: 49.7 kB / 1.493 GB, free: 9.516 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.6523, allocations: 0.6064 MB / 1.494 GB, free: 8.902 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.6527, allocations: 380.8 kB / 1.494 GB, free: 8.527 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.6531, allocations: 206.9 kB / 1.494 GB, free: 8.316 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6532, allocations: 349.9 kB / 1.495 GB, free: 7.969 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.6541, allocations: 394.4 kB / 1.495 GB, free: 7.586 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.6552, allocations: 0.5746 MB / 1.495 GB, free: 6.957 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.6571, allocations: 0.9566 MB / 1.496 GB, free: 5.957 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.6571, allocations: 4 kB / 1.496 GB, free: 5.953 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003095/0.6602, allocations: 1.243 MB / 1.498 GB, free: 4.699 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.6602, allocations: 8 kB / 1.498 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6602, allocations: 0 / 1.498 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.6609, allocations: 89.08 kB / 1.498 GB, free: 4.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.6621, allocations: 251.7 kB / 1.498 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.6644, allocations: 1.65 MB / 1.5 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6656, allocations: 144.6 kB / 1.5 GB, free: 2.414 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.6657, allocations: 52.03 kB / 1.5 GB, free: 2.363 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007074/0.6664, allocations: 347.2 kB / 1.5 GB, free: 2.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.6667, allocations: 127.2 kB / 1.5 GB, free: 1.887 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.6702, allocations: 1.433 MB / 1.502 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6703, allocations: 15.94 kB / 1.502 GB, free: 440 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6703, allocations: 4 kB / 1.502 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.6703, allocations: 7.984 kB / 1.502 GB, free: 428 kB / 1.201 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 postOpt removeSimpleEquations (simulation): time 0.005545/0.6758, allocations: 2.864 MB / 1.504 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6758, allocations: 0 / 1.504 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6769, allocations: 227.6 kB / 1.505 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.6774, allocations: 72.8 kB / 1.505 GB, free: 13.17 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.6775, allocations: 35.97 kB / 1.505 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.6797, allocations: 1.677 MB / 1.506 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6797, allocations: 0 / 1.506 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.6828, allocations: 1.323 MB / 1.508 GB, free: 9.973 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/0.6836, allocations: 363.8 kB / 1.508 GB, free: 9.598 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6838, allocations: 27.95 kB / 1.508 GB, free: 9.57 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.6849, allocations: 83.97 kB / 1.508 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.6851, allocations: 84.83 kB / 1.508 GB, free: 9.406 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.6852, allocations: 55.95 kB / 1.508 GB, free: 9.352 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001055/0.6862, allocations: 0.615 MB / 1.509 GB, free: 8.727 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6862, allocations: 0 / 1.509 GB, free: 8.727 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001485/0.6877, allocations: 0.4948 MB / 1.509 GB, free: 8.23 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002499/0.6902, allocations: 0.7207 MB / 1.51 GB, free: 7.703 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.6929, allocations: 1.113 MB / 1.511 GB, free: 6.578 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6929, allocations: 0 / 1.511 GB, free: 6.578 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.6942, allocations: 0.6328 MB / 1.512 GB, free: 5.93 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.6969, allocations: 0.5298 MB / 1.512 GB, free: 5.422 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.702, allocations: 2.389 MB / 1.515 GB, free: 3.004 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.7031, allocations: 1.209 MB / 1.516 GB, free: 1.762 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001476/0.7046, allocations: 385.8 kB / 1.516 GB, free: 1.383 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.705, allocations: 143.4 kB / 1.516 GB, free: 1.242 MB / 1.217 GB Notification: Performance of SimCode: time 1.212e-06/0.705, allocations: 0 / 1.516 GB, free: 1.242 MB / 1.217 GB Notification: Performance of Templates: time 0.04642/0.7515, allocations: 25.22 MB / 1.541 GB, free: 8.348 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.427137973718345]