Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001786/0.001786, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00217/0.00217, allocations: 224.3 kB / 22.25 MB, free: 5.258 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.852/2.852, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [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.001848/0.001848, allocations: 68.58 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2844, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1777/0.4621, allocations: 156.1 MB / 1.478 GB, free: 4.82 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.4785, allocations: 12.03 MB / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.4795, allocations: 43.62 kB / 1.49 GB, free: 8.707 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.4806, allocations: 480.4 kB / 1.49 GB, free: 8.234 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.483, allocations: 1.071 MB / 1.492 GB, free: 7.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.487, allocations: 1.905 MB / 1.493 GB, free: 5.262 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002553/0.4896, allocations: 2.559 MB / 1.496 GB, free: 2.695 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.4912, allocations: 1.295 MB / 1.497 GB, free: 1.34 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.495, allocations: 1.649 MB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.4961, allocations: 0.9026 MB / 1.5 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.4963, allocations: 172 kB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.4986, allocations: 1.306 MB / 1.501 GB, free: 13.33 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.499, allocations: 0.4946 MB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007514/0.4998, allocations: 0.7272 MB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.5031, allocations: 2.849 MB / 1.505 GB, free: 9.246 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5031, allocations: 0 / 1.505 GB, free: 9.246 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5031, allocations: 0 / 1.505 GB, free: 9.246 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.5031, allocations: 4 kB / 1.505 GB, free: 9.242 MB / 1.201 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.003452/0.5066, allocations: 2.033 MB / 1.507 GB, free: 7.164 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5066, allocations: 8.031 kB / 1.507 GB, free: 7.156 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002429/0.5068, allocations: 202.7 kB / 1.507 GB, free: 6.949 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.5099, allocations: 470.4 kB / 1.508 GB, free: 6.488 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.5117, allocations: 0.9594 MB / 1.509 GB, free: 5.496 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5118, allocations: 102.7 kB / 1.509 GB, free: 5.395 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.512, allocations: 132 kB / 1.509 GB, free: 5.266 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.5148, allocations: 2.034 MB / 1.511 GB, free: 3.031 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.5149, allocations: 0 / 1.511 GB, free: 3.031 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.515, allocations: 63.98 kB / 1.511 GB, free: 2.969 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.515, allocations: 32 kB / 1.511 GB, free: 2.938 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.5177, allocations: 1.532 MB / 1.512 GB, free: 1.398 MB / 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 preOpt removeSimpleEquations (simulation): time 0.006919/0.5246, allocations: 3.995 MB / 1.516 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.5271, allocations: 1.148 MB / 1.517 GB, free: 12.15 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.5279, allocations: 443.6 kB / 1.518 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.5285, allocations: 116.9 kB / 1.518 GB, free: 11.6 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.5299, allocations: 1.043 MB / 1.519 GB, free: 10.45 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 2.865e-06/0.5299, allocations: 0 / 1.519 GB, free: 10.45 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004328/0.5342, allocations: 1.605 MB / 1.521 GB, free: 8.836 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.5344, allocations: 192.9 kB / 1.521 GB, free: 8.605 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.5356, allocations: 0.9284 MB / 1.522 GB, free: 7.656 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.5357, allocations: 45.7 kB / 1.522 GB, free: 7.605 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/0.5363, allocations: 0.6103 MB / 1.522 GB, free: 6.988 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.5366, allocations: 368.9 kB / 1.523 GB, free: 6.625 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.5369, allocations: 202.5 kB / 1.523 GB, free: 6.418 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5371, allocations: 341.9 kB / 1.523 GB, free: 6.078 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000754/0.5378, allocations: 381.8 kB / 1.524 GB, free: 5.707 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.5389, allocations: 0.7312 MB / 1.524 GB, free: 4.871 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.5406, allocations: 0.9332 MB / 1.525 GB, free: 3.895 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5406, allocations: 3.938 kB / 1.525 GB, free: 3.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002713/0.5433, allocations: 1.196 MB / 1.526 GB, free: 2.688 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5434, allocations: 10.19 kB / 1.526 GB, free: 2.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5434, allocations: 4 kB / 1.526 GB, free: 2.676 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.544, allocations: 89.08 kB / 1.526 GB, free: 2.586 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5451, allocations: 243.7 kB / 1.527 GB, free: 2.348 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.5472, allocations: 1.543 MB / 1.528 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009769/0.5482, allocations: 135.2 kB / 1.528 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.5483, allocations: 43.97 kB / 1.528 GB, free: 0.5078 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (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 (123): * Single equations (assignments): 122 * 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.0005946/0.5489, allocations: 342.6 kB / 1.529 GB, free: 168 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.5491, allocations: 131.2 kB / 1.529 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.5523, allocations: 1.437 MB / 1.53 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5523, allocations: 12 kB / 1.53 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5523, allocations: 4 kB / 1.53 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5523, allocations: 3.984 kB / 1.53 GB, free: 14.56 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.004682/0.557, allocations: 2.58 MB / 1.533 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.557, allocations: 0 / 1.533 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.558, allocations: 219.7 kB / 1.533 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/0.5584, allocations: 84.72 kB / 1.533 GB, free: 11.63 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.5585, allocations: 23.98 kB / 1.533 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.5604, allocations: 1.562 MB / 1.535 GB, free: 9.922 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5604, allocations: 0 / 1.535 GB, free: 9.922 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.5631, allocations: 1.331 MB / 1.536 GB, free: 8.574 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006307/0.5637, allocations: 290.7 kB / 1.536 GB, free: 8.289 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.5639, allocations: 23.94 kB / 1.536 GB, free: 8.266 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.5648, allocations: 77.28 kB / 1.536 GB, free: 8.191 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.565, allocations: 96.75 kB / 1.536 GB, free: 8.094 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.5651, allocations: 51.95 kB / 1.536 GB, free: 8.043 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008553/0.5659, allocations: 0.6468 MB / 1.537 GB, free: 7.387 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5659, allocations: 0 / 1.537 GB, free: 7.387 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00119/0.5671, allocations: 498.7 kB / 1.538 GB, free: 6.898 MB / 1.232 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.005069/0.5722, allocations: 2.519 MB / 1.54 GB, free: 4.566 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002221/0.5744, allocations: 1.078 MB / 1.541 GB, free: 3.473 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5744, allocations: 4 kB / 1.541 GB, free: 3.469 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.5756, allocations: 0.6406 MB / 1.542 GB, free: 2.82 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.5778, allocations: 0.5323 MB / 1.542 GB, free: 2.316 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.5922, allocations: 8.999 MB / 1.551 GB, free: 9.102 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.5929, allocations: 0.6289 MB / 1.552 GB, free: 8.441 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001251/0.5941, allocations: 394 kB / 1.552 GB, free: 8.055 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/0.595, allocations: 0.5773 MB / 1.553 GB, free: 7.477 MB / 1.248 GB Notification: Performance of SimCode: time 5.61e-07/0.595, allocations: 3.938 kB / 1.553 GB, free: 7.473 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07819/0.6731, allocations: 37.41 MB / 1.589 GB, free: 2.594 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.9, allocations: 1.719 kB / 1.589 GB, free: 2.594 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.06656752899289]