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.001216/0.001216, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001407/0.001407, allocations: 220 kB / 22.24 MB, free: 5.109 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.286/1.286, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 179] 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.894/2.894, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.00192/0.00192, allocations: 74.55 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2782, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1724/0.4506, allocations: 156 MB / 1.516 GB, free: 1.465 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.4667, allocations: 12.05 MB / 1.528 GB, free: 5.387 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.4676, allocations: 43.62 kB / 1.528 GB, free: 5.344 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.4687, allocations: 484.3 kB / 1.528 GB, free: 4.867 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.471, allocations: 1.059 MB / 1.529 GB, free: 3.805 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.4749, allocations: 1.908 MB / 1.531 GB, free: 1.902 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.4774, allocations: 2.555 MB / 1.533 GB, free: 15.34 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.4789, allocations: 1.267 MB / 1.535 GB, free: 14.02 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.4826, allocations: 1.642 MB / 1.536 GB, free: 12.4 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.4836, allocations: 0.8243 MB / 1.537 GB, free: 11.57 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.4838, allocations: 172 kB / 1.537 GB, free: 11.4 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.486, allocations: 1.287 MB / 1.538 GB, free: 10.11 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.4864, allocations: 0.4907 MB / 1.539 GB, free: 9.621 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0006751/0.4871, allocations: 0.731 MB / 1.54 GB, free: 8.887 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.4903, allocations: 2.841 MB / 1.542 GB, free: 6.035 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4903, allocations: 4 kB / 1.542 GB, free: 6.031 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4903, allocations: 0 / 1.542 GB, free: 6.031 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.4903, allocations: 0 / 1.542 GB, free: 6.031 MB / 1.233 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.003209/0.4935, allocations: 2.032 MB / 1.544 GB, free: 3.953 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4935, allocations: 8.031 kB / 1.544 GB, free: 3.945 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/0.4938, allocations: 214.5 kB / 1.545 GB, free: 3.727 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.4967, allocations: 466.5 kB / 1.545 GB, free: 3.27 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.4983, allocations: 0.9594 MB / 1.546 GB, free: 2.277 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/0.4984, allocations: 102.7 kB / 1.546 GB, free: 2.176 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.4986, allocations: 136 kB / 1.546 GB, free: 2.043 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.5014, allocations: 2.028 MB / 1.548 GB, free: 15.82 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.5014, allocations: 4 kB / 1.548 GB, free: 15.81 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.5015, allocations: 56 kB / 1.548 GB, free: 15.76 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.5016, allocations: 36 kB / 1.548 GB, free: 15.72 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.5043, allocations: 1.54 MB / 1.55 GB, free: 14.18 MB / 1.248 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.006572/0.5109, allocations: 3.98 MB / 1.554 GB, free: 10.1 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.5133, allocations: 1.152 MB / 1.555 GB, free: 8.949 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008393/0.5141, allocations: 440.1 kB / 1.555 GB, free: 8.516 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/0.5147, allocations: 104.9 kB / 1.555 GB, free: 8.414 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/0.5161, allocations: 1.055 MB / 1.556 GB, free: 7.254 MB / 1.248 GB Notification: Performance of pre-optimization done (n=107): time 2.434e-06/0.5161, allocations: 0 / 1.556 GB, free: 7.254 MB / 1.248 GB Notification: Performance of matching and sorting (n=107): time 0.004207/0.5203, allocations: 1.601 MB / 1.558 GB, free: 5.645 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.5204, allocations: 204.8 kB / 1.558 GB, free: 5.402 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.5216, allocations: 0.9167 MB / 1.559 GB, free: 4.465 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.5217, allocations: 45.7 kB / 1.559 GB, free: 4.414 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.5222, allocations: 0.6181 MB / 1.56 GB, free: 3.789 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.5225, allocations: 368.9 kB / 1.56 GB, free: 3.426 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.5228, allocations: 194.6 kB / 1.56 GB, free: 3.227 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5229, allocations: 345.9 kB / 1.561 GB, free: 2.883 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007708/0.5237, allocations: 381.8 kB / 1.561 GB, free: 2.512 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.5248, allocations: 0.7389 MB / 1.562 GB, free: 1.668 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.5264, allocations: 0.9293 MB / 1.563 GB, free: 0.6953 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5265, allocations: 0 / 1.563 GB, free: 0.6953 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002578/0.529, allocations: 1.196 MB / 1.564 GB, free: 15.49 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.529, allocations: 8 kB / 1.564 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5291, allocations: 3.938 kB / 1.564 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.5296, allocations: 88.89 kB / 1.564 GB, free: 15.39 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.5307, allocations: 243.7 kB / 1.564 GB, free: 15.15 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.5327, allocations: 1.539 MB / 1.566 GB, free: 13.49 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.5335, allocations: 135.2 kB / 1.566 GB, free: 13.36 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/0.5336, allocations: 47.95 kB / 1.566 GB, free: 13.31 MB / 1.264 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.0004982/0.5341, allocations: 345.5 kB / 1.566 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.5343, allocations: 127.2 kB / 1.566 GB, free: 12.84 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.5375, allocations: 1.433 MB / 1.568 GB, free: 11.39 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5375, allocations: 12 kB / 1.568 GB, free: 11.38 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.5375, allocations: 0 / 1.568 GB, free: 11.38 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.5375, allocations: 7.969 kB / 1.568 GB, free: 11.38 MB / 1.264 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.004626/0.5421, allocations: 2.576 MB / 1.57 GB, free: 8.746 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5421, allocations: 0 / 1.57 GB, free: 8.746 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.5431, allocations: 219.7 kB / 1.57 GB, free: 8.531 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/0.5435, allocations: 80.7 kB / 1.57 GB, free: 8.449 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.5436, allocations: 35.97 kB / 1.57 GB, free: 8.414 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.5454, allocations: 1.551 MB / 1.572 GB, free: 6.738 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5454, allocations: 3.938 kB / 1.572 GB, free: 6.734 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.548, allocations: 1.335 MB / 1.573 GB, free: 5.383 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006077/0.5486, allocations: 294.7 kB / 1.574 GB, free: 5.094 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5488, allocations: 31.88 kB / 1.574 GB, free: 5.062 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.5497, allocations: 82.09 kB / 1.574 GB, free: 4.984 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5498, allocations: 88.78 kB / 1.574 GB, free: 4.895 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.5499, allocations: 51.95 kB / 1.574 GB, free: 4.844 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008411/0.5508, allocations: 0.635 MB / 1.574 GB, free: 4.199 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5508, allocations: 4 kB / 1.574 GB, free: 4.195 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001084/0.5519, allocations: 0.491 MB / 1.575 GB, free: 3.703 MB / 1.264 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.004972/0.5568, allocations: 2.519 MB / 1.577 GB, free: 1.371 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.559, allocations: 1.074 MB / 1.578 GB, free: 292 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.559, allocations: 4 kB / 1.578 GB, free: 288 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.5602, allocations: 0.6328 MB / 1.579 GB, free: 15.64 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.5623, allocations: 0.5347 MB / 1.58 GB, free: 15.12 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.5765, allocations: 9.008 MB / 1.588 GB, free: 5.902 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.5772, allocations: 0.625 MB / 1.589 GB, free: 5.246 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001174/0.5784, allocations: 390 kB / 1.589 GB, free: 4.863 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/0.5792, allocations: 0.5812 MB / 1.59 GB, free: 4.281 MB / 1.279 GB Notification: Performance of SimCode: time 4.61e-07/0.5792, allocations: 0 / 1.59 GB, free: 4.281 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5848/1.164, allocations: 37.07 MB / 1.626 GB, free: 242.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/14.01, allocations: 7 kB / 1.626 GB, free: 242.4 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 840.0] 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: 20.136073891073465]