Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 159.2 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.88/2.88, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8701/0.8724, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1992/1.072, allocations: 156 MB / 1.339 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01837/1.09, allocations: 12.07 MB / 1.351 GB, free: 13.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.091, allocations: 43.62 kB / 1.351 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.093, allocations: 476.4 kB / 1.351 GB, free: 13.17 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/1.096, allocations: 1.065 MB / 1.352 GB, free: 12.1 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/1.1, allocations: 1.905 MB / 1.354 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003488/1.104, allocations: 2.559 MB / 1.357 GB, free: 7.633 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/1.106, allocations: 1.267 MB / 1.358 GB, free: 6.309 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004977/1.111, allocations: 1.638 MB / 1.359 GB, free: 4.695 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/1.112, allocations: 0.8243 MB / 1.36 GB, free: 3.867 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/1.113, allocations: 176 kB / 1.36 GB, free: 3.695 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/1.116, allocations: 1.279 MB / 1.362 GB, free: 2.414 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/1.116, allocations: 0.4907 MB / 1.362 GB, free: 1.922 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009252/1.117, allocations: 0.7271 MB / 1.363 GB, free: 1.191 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/1.121, allocations: 2.845 MB / 1.366 GB, free: 14.33 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.121, allocations: 3.984 kB / 1.366 GB, free: 14.33 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.222e-06/1.121, allocations: 0 / 1.366 GB, free: 14.33 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.347e-05/1.121, allocations: 0 / 1.366 GB, free: 14.33 MB / 1.217 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.003705/1.125, allocations: 2.028 MB / 1.368 GB, free: 12.25 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.125, allocations: 12.03 kB / 1.368 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/1.128, allocations: 462.5 kB / 1.368 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/1.13, allocations: 0.9555 MB / 1.369 GB, free: 10.8 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.13, allocations: 106.7 kB / 1.369 GB, free: 10.7 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.131, allocations: 139.9 kB / 1.369 GB, free: 10.56 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/1.134, allocations: 2.021 MB / 1.371 GB, free: 8.34 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/1.134, allocations: 3.938 kB / 1.371 GB, free: 8.336 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/1.134, allocations: 60 kB / 1.371 GB, free: 8.277 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.134, allocations: 32 kB / 1.371 GB, free: 8.246 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/1.137, allocations: 1.54 MB / 1.373 GB, free: 6.699 MB / 1.217 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.007116/1.144, allocations: 3.768 MB / 1.377 GB, free: 2.852 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/1.147, allocations: 1.154 MB / 1.378 GB, free: 1.695 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/1.148, allocations: 440.1 kB / 1.378 GB, free: 1.262 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/1.148, allocations: 112.9 kB / 1.378 GB, free: 1.152 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/1.15, allocations: 1.046 MB / 1.379 GB, free: 12 kB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 3.316e-06/1.15, allocations: 0 / 1.379 GB, free: 12 kB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004664/1.155, allocations: 1.586 MB / 1.381 GB, free: 14.41 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.155, allocations: 192.9 kB / 1.381 GB, free: 14.18 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.156, allocations: 0.7706 MB / 1.382 GB, free: 13.4 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.156, allocations: 49.7 kB / 1.382 GB, free: 13.34 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/1.156, allocations: 0.6063 MB / 1.382 GB, free: 12.73 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.157, allocations: 372.8 kB / 1.383 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/1.157, allocations: 218.8 kB / 1.383 GB, free: 12.14 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.157, allocations: 349.9 kB / 1.383 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/1.158, allocations: 402.3 kB / 1.384 GB, free: 11.4 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.159, allocations: 0.7462 MB / 1.384 GB, free: 10.57 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.161, allocations: 0.9605 MB / 1.385 GB, free: 9.562 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.161, allocations: 0 / 1.385 GB, free: 9.562 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002957/1.164, allocations: 1.228 MB / 1.386 GB, free: 8.324 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/1.164, allocations: 11.94 kB / 1.387 GB, free: 8.312 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.164, allocations: 4 kB / 1.387 GB, free: 8.309 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/1.165, allocations: 85.17 kB / 1.387 GB, free: 8.223 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.166, allocations: 259.6 kB / 1.387 GB, free: 7.969 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/1.168, allocations: 1.512 MB / 1.388 GB, free: 6.348 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.169, allocations: 119.4 kB / 1.388 GB, free: 6.23 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.17, allocations: 55.95 kB / 1.388 GB, free: 6.176 MB / 1.232 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.000644/1.17, allocations: 347.5 kB / 1.389 GB, free: 5.828 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/1.17, allocations: 111.3 kB / 1.389 GB, free: 5.719 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.174, allocations: 1.416 MB / 1.39 GB, free: 4.289 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.174, allocations: 27.86 kB / 1.39 GB, free: 4.262 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/1.174, allocations: 0 / 1.39 GB, free: 4.262 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.174, allocations: 7.969 kB / 1.39 GB, free: 4.254 MB / 1.232 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.004795/1.179, allocations: 2.407 MB / 1.393 GB, free: 1.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.179, allocations: 0 / 1.393 GB, free: 1.809 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.18, allocations: 223.7 kB / 1.393 GB, free: 1.59 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/1.18, allocations: 68.8 kB / 1.393 GB, free: 1.52 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/1.18, allocations: 35.97 kB / 1.393 GB, free: 1.484 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.182, allocations: 1.544 MB / 1.395 GB, free: 15.83 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.182, allocations: 4.031 kB / 1.395 GB, free: 15.83 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/1.185, allocations: 1.322 MB / 1.396 GB, free: 14.49 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/1.186, allocations: 270.8 kB / 1.396 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.186, allocations: 20 kB / 1.396 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/1.187, allocations: 76.73 kB / 1.396 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.187, allocations: 96.77 kB / 1.396 GB, free: 14.03 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.187, allocations: 55.89 kB / 1.396 GB, free: 13.98 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000807/1.188, allocations: 0.5224 MB / 1.397 GB, free: 13.46 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.31e-07/1.188, allocations: 0 / 1.397 GB, free: 13.46 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001439/1.189, allocations: 0.5181 MB / 1.397 GB, free: 12.94 MB / 1.248 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.002293/1.192, allocations: 0.7188 MB / 1.398 GB, free: 12.42 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002469/1.194, allocations: 1.113 MB / 1.399 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.194, allocations: 0 / 1.399 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.196, allocations: 0.6367 MB / 1.4 GB, free: 10.65 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/1.197, allocations: 464.1 kB / 1.4 GB, free: 10.22 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/1.202, allocations: 2.372 MB / 1.402 GB, free: 7.816 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/1.203, allocations: 0.6328 MB / 1.403 GB, free: 7.145 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001246/1.204, allocations: 368.6 kB / 1.403 GB, free: 6.781 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/1.204, allocations: 140.4 kB / 1.404 GB, free: 6.645 MB / 1.248 GB Notification: Performance of SimCode: time 6.71e-07/1.204, allocations: 0 / 1.404 GB, free: 6.645 MB / 1.248 GB Notification: Performance of Templates: time 0.04093/1.245, allocations: 22.81 MB / 1.426 GB, free: 232 kB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.022505122004077]