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.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.001538/0.001538, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001596/0.001596, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 68.3 kB / 1.134 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 173.9 MB / 1.304 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2725/0.6214, allocations: 177.4 MB / 1.477 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.6424, allocations: 12.88 MB / 1.49 GB, free: 2.613 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.6443, allocations: 31.81 kB / 1.49 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.6458, allocations: 484.3 kB / 1.49 GB, free: 2.105 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.6494, allocations: 1.049 MB / 1.491 GB, free: 1.055 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.6546, allocations: 1.894 MB / 1.493 GB, free: 15.17 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003802/0.6584, allocations: 2.528 MB / 1.496 GB, free: 12.63 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.6607, allocations: 1.298 MB / 1.497 GB, free: 11.27 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.6657, allocations: 1.611 MB / 1.498 GB, free: 9.688 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.6672, allocations: 0.8908 MB / 1.499 GB, free: 8.793 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.6676, allocations: 172 kB / 1.5 GB, free: 8.625 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.6712, allocations: 1.474 MB / 1.501 GB, free: 7.148 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.6719, allocations: 0.4907 MB / 1.501 GB, free: 6.656 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.6732, allocations: 0.8708 MB / 1.502 GB, free: 5.781 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.6791, allocations: 2.818 MB / 1.505 GB, free: 2.953 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6791, allocations: 0 / 1.505 GB, free: 2.953 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6791, allocations: 4 kB / 1.505 GB, free: 2.949 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.178e-05/0.6792, allocations: 0 / 1.505 GB, free: 2.949 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.005047/0.6842, allocations: 2.08 MB / 1.507 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6843, allocations: 12.03 kB / 1.507 GB, free: 0.793 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003249/0.6846, allocations: 206.6 kB / 1.507 GB, free: 0.582 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/0.6874, allocations: 414.5 kB / 1.508 GB, free: 180 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.6898, allocations: 1.043 MB / 1.509 GB, free: 15.09 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.6899, allocations: 102.7 kB / 1.509 GB, free: 14.98 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.6901, allocations: 128 kB / 1.509 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.6934, allocations: 1.524 MB / 1.51 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.6935, allocations: 4 kB / 1.51 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.6936, allocations: 56 kB / 1.51 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.6936, allocations: 39.94 kB / 1.51 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.6969, allocations: 1.583 MB / 1.512 GB, free: 11.57 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.009086/0.706, allocations: 5.412 MB / 1.517 GB, free: 5.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.7088, allocations: 1.46 MB / 1.519 GB, free: 4.281 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009659/0.7098, allocations: 436.6 kB / 1.519 GB, free: 3.852 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008493/0.7106, allocations: 429.3 kB / 1.52 GB, free: 3.359 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.712, allocations: 0.6918 MB / 1.52 GB, free: 2.652 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 3.166e-06/0.712, allocations: 4 kB / 1.52 GB, free: 2.648 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004938/0.7169, allocations: 1.665 MB / 1.522 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.7171, allocations: 196.9 kB / 1.522 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.7186, allocations: 0.8999 MB / 1.523 GB, free: 15.8 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.7187, allocations: 53.7 kB / 1.523 GB, free: 15.74 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000636/0.7194, allocations: 0.6025 MB / 1.524 GB, free: 15.13 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.7198, allocations: 368.9 kB / 1.524 GB, free: 14.77 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.7201, allocations: 194.6 kB / 1.524 GB, free: 14.57 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.7203, allocations: 345.9 kB / 1.524 GB, free: 14.23 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.7212, allocations: 377.8 kB / 1.525 GB, free: 13.86 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.7222, allocations: 0.5672 MB / 1.525 GB, free: 13.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.7241, allocations: 0.9293 MB / 1.526 GB, free: 12.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7241, allocations: 0 / 1.526 GB, free: 12.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00301/0.7271, allocations: 1.192 MB / 1.527 GB, free: 11.05 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.7271, allocations: 4 kB / 1.527 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.7271, allocations: 4 kB / 1.527 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.7278, allocations: 93.11 kB / 1.528 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7289, allocations: 243.7 kB / 1.528 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.7316, allocations: 1.659 MB / 1.529 GB, free: 8.906 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7328, allocations: 135.2 kB / 1.53 GB, free: 8.773 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7329, allocations: 43.97 kB / 1.53 GB, free: 8.73 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: 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.0007612/0.7336, allocations: 337.5 kB / 1.53 GB, free: 8.391 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.7339, allocations: 127.2 kB / 1.53 GB, free: 8.266 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.7374, allocations: 1.437 MB / 1.531 GB, free: 6.82 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.7374, allocations: 12 kB / 1.531 GB, free: 6.809 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7374, allocations: 0 / 1.531 GB, free: 6.809 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.7374, allocations: 7.969 kB / 1.531 GB, free: 6.801 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.005923/0.7433, allocations: 2.868 MB / 1.534 GB, free: 3.848 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7433, allocations: 4 kB / 1.534 GB, free: 3.844 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.7444, allocations: 219.7 kB / 1.534 GB, free: 3.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/0.7449, allocations: 76.72 kB / 1.535 GB, free: 3.551 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.745, allocations: 35.97 kB / 1.535 GB, free: 3.516 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.7473, allocations: 1.666 MB / 1.536 GB, free: 1.707 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7473, allocations: 4.062 kB / 1.536 GB, free: 1.703 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.7504, allocations: 1.327 MB / 1.537 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008219/0.7512, allocations: 359.9 kB / 1.538 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.7514, allocations: 31.94 kB / 1.538 GB, free: 15.95 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009763/0.7524, allocations: 82.11 kB / 1.538 GB, free: 15.88 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.7526, allocations: 84.88 kB / 1.538 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.7527, allocations: 59.89 kB / 1.538 GB, free: 15.73 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009752/0.7537, allocations: 0.615 MB / 1.539 GB, free: 15.11 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7537, allocations: 0 / 1.539 GB, free: 15.11 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001407/0.7551, allocations: 498.7 kB / 1.539 GB, free: 14.62 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.005712/0.7608, allocations: 2.489 MB / 1.542 GB, free: 12.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.7635, allocations: 1.086 MB / 1.543 GB, free: 11.2 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7635, allocations: 3.938 kB / 1.543 GB, free: 11.2 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.7648, allocations: 0.6406 MB / 1.543 GB, free: 10.55 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.7674, allocations: 0.5233 MB / 1.544 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.7854, allocations: 8.93 MB / 1.552 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.7864, allocations: 1.205 MB / 1.554 GB, free: 15.67 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001524/0.788, allocations: 385.9 kB / 1.554 GB, free: 15.29 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009174/0.7889, allocations: 0.5695 MB / 1.555 GB, free: 14.72 MB / 1.264 GB Notification: Performance of SimCode: time 1.001e-06/0.7889, allocations: 0 / 1.555 GB, free: 14.72 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08817/0.8771, allocations: 34.17 MB / 1.588 GB, free: 12.98 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.28, allocations: 10.41 kB / 1.588 GB, free: 12.97 MB / 1.295 GB " [Timeout remaining time 285] (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_2/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: 21.944934089668095]