Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001586/0.001586, allocations: 109.6 kB / 17.08 MB, free: 6.012 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.001528/0.001528, allocations: 192.7 kB / 20.03 MB, free: 3.082 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437.1 MB / 0.7177 GB, free: 4.574 MB / 0.5606 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 1.028 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 151.6 MB / 1.176 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.8428/1.164, allocations: 176.8 MB / 1.348 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01925/1.183, allocations: 12.82 MB / 1.361 GB, free: 3.094 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/1.185, allocations: 28.88 kB / 1.361 GB, free: 3.086 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/1.187, allocations: 474.1 kB / 1.361 GB, free: 2.785 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003742/1.19, allocations: 1.032 MB / 1.362 GB, free: 2.168 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005262/1.196, allocations: 1.87 MB / 1.364 GB, free: 1.191 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00403/1.2, allocations: 2.536 MB / 1.367 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/1.203, allocations: 1.599 MB / 1.368 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/1.207, allocations: 1.421 MB / 1.37 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/1.209, allocations: 0.885 MB / 1.371 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003725/1.21, allocations: 176.4 kB / 1.371 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/1.213, allocations: 1.425 MB / 1.372 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006202/1.214, allocations: 491.1 kB / 1.373 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/1.215, allocations: 0.8741 MB / 1.373 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00595/1.221, allocations: 2.814 MB / 1.376 GB, free: 11.05 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.221, allocations: 1.156 kB / 1.376 GB, free: 11.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.659e-06/1.221, allocations: 3.984 kB / 1.376 GB, free: 11.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.38e-05/1.221, allocations: 0 / 1.376 GB, free: 11.05 MB / 1.045 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.005358/1.227, allocations: 2.075 MB / 1.378 GB, free: 9.469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/1.227, allocations: 13.53 kB / 1.378 GB, free: 9.465 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.23, allocations: 416.5 kB / 1.379 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.232, allocations: 1.042 MB / 1.38 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/1.232, allocations: 102.2 kB / 1.38 GB, free: 8.402 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/1.232, allocations: 132.8 kB / 1.38 GB, free: 8.359 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/1.235, allocations: 1.526 MB / 1.381 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/1.235, allocations: 5.781 kB / 1.381 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/1.236, allocations: 58.59 kB / 1.381 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/1.236, allocations: 33.31 kB / 1.382 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/1.238, allocations: 1.573 MB / 1.383 GB, free: 6.582 MB / 1.045 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.008998/1.247, allocations: 5.304 MB / 1.388 GB, free: 2.094 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/1.25, allocations: 1.52 MB / 1.39 GB, free: 1.094 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/1.251, allocations: 486.5 kB / 1.39 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/1.252, allocations: 425.2 kB / 1.391 GB, free: 436 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/1.253, allocations: 0.6958 MB / 1.391 GB, free: 15.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 3.066e-06/1.253, allocations: 0 / 1.391 GB, free: 15.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=107): time 0.004555/1.258, allocations: 1.671 MB / 1.393 GB, free: 15.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.258, allocations: 200.9 kB / 1.393 GB, free: 14.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.259, allocations: 0.8967 MB / 1.394 GB, free: 14.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/1.259, allocations: 49.45 kB / 1.394 GB, free: 14.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/1.26, allocations: 0.6061 MB / 1.395 GB, free: 13.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/1.261, allocations: 369.3 kB / 1.395 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/1.261, allocations: 218.1 kB / 1.395 GB, free: 13.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.261, allocations: 350.2 kB / 1.395 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008576/1.262, allocations: 390.2 kB / 1.396 GB, free: 12.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.263, allocations: 0.568 MB / 1.396 GB, free: 12.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/1.265, allocations: 0.9631 MB / 1.397 GB, free: 11.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.265, allocations: 5.719 kB / 1.397 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003038/1.268, allocations: 1.238 MB / 1.399 GB, free: 11.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/1.268, allocations: 11.38 kB / 1.399 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.268, allocations: 2.781 kB / 1.399 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006574/1.269, allocations: 88.64 kB / 1.399 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.27, allocations: 254.8 kB / 1.399 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.272, allocations: 1.662 MB / 1.401 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.273, allocations: 136.5 kB / 1.401 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.274, allocations: 52.38 kB / 1.401 GB, free: 9.367 MB / 1.061 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.0007102/1.274, allocations: 344.2 kB / 1.401 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/1.275, allocations: 131.5 kB / 1.401 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/1.278, allocations: 1.425 MB / 1.403 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.278, allocations: 10.19 kB / 1.403 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.278, allocations: 0 / 1.403 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.278, allocations: 10.66 kB / 1.403 GB, free: 8.238 MB / 1.061 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.005189/1.283, allocations: 2.867 MB / 1.405 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.283, allocations: 0 / 1.405 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/1.284, allocations: 218.8 kB / 1.406 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/1.285, allocations: 88.7 kB / 1.406 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/1.285, allocations: 33.88 kB / 1.406 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/1.287, allocations: 1.678 MB / 1.407 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.287, allocations: 0 / 1.407 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.29, allocations: 1.326 MB / 1.409 GB, free: 3.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008206/1.291, allocations: 366.4 kB / 1.409 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/1.291, allocations: 22.84 kB / 1.409 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/1.292, allocations: 78.27 kB / 1.409 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.292, allocations: 89.16 kB / 1.409 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.292, allocations: 48.75 kB / 1.409 GB, free: 3.398 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009499/1.293, allocations: 0.6205 MB / 1.41 GB, free: 3.035 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.293, allocations: 0 / 1.41 GB, free: 3.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001548/1.295, allocations: 0.498 MB / 1.41 GB, free: 2.758 MB / 1.061 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.002438/1.297, allocations: 0.7101 MB / 1.411 GB, free: 2.242 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.3, allocations: 1.152 MB / 1.412 GB, free: 1.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/1.3, allocations: 4 kB / 1.412 GB, free: 1.078 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/1.302, allocations: 0.6797 MB / 1.413 GB, free: 396 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.304, allocations: 0.5283 MB / 1.413 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/1.309, allocations: 2.422 MB / 1.416 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/1.31, allocations: 1.203 MB / 1.417 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/1.311, allocations: 163.3 kB / 1.417 GB, free: 12.02 MB / 1.076 GB Notification: Performance of SimCode: time 7.51e-07/1.311, allocations: 0 / 1.417 GB, free: 12.02 MB / 1.076 GB Notification: Performance of Templates: time 0.04537/1.356, allocations: 28.55 MB / 1.445 GB, free: 15.6 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTem.T,senRelHum.phi,senMasFra.X Variables in the result:senMasFra.X,senRelHum.phi,senTem.T,time [Calling sys.exit(0), Time elapsed: 15.601198615971953]