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.001869/0.001869, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002226/0.002226, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.622/2.622, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.88 kB / 1.056 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.7686, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2443/1.013, allocations: 177.4 MB / 1.386 GB, free: 6.207 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02541/1.038, allocations: 12.89 MB / 1.399 GB, free: 9.273 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/1.041, allocations: 27.88 kB / 1.399 GB, free: 9.246 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/1.043, allocations: 488.3 kB / 1.399 GB, free: 8.766 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005288/1.048, allocations: 1.052 MB / 1.4 GB, free: 7.711 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006562/1.055, allocations: 1.884 MB / 1.402 GB, free: 5.832 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004713/1.059, allocations: 2.536 MB / 1.405 GB, free: 3.289 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/1.062, allocations: 1.318 MB / 1.406 GB, free: 1.914 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/1.068, allocations: 1.459 MB / 1.407 GB, free: 492 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/1.07, allocations: 0.9064 MB / 1.408 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007295/1.071, allocations: 175.9 kB / 1.408 GB, free: 15.4 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004384/1.075, allocations: 1.474 MB / 1.41 GB, free: 13.92 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.076, allocations: 498.5 kB / 1.41 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002557/1.079, allocations: 0.8825 MB / 1.411 GB, free: 12.55 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007818/1.087, allocations: 2.806 MB / 1.414 GB, free: 9.73 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.087, allocations: 0 / 1.414 GB, free: 9.73 MB / 1.123 GB Notification: Performance of FrontEnd: time 6.132e-06/1.087, allocations: 4 kB / 1.414 GB, free: 9.727 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001276/1.087, allocations: 0 / 1.414 GB, free: 9.727 MB / 1.123 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.006124/1.093, allocations: 2.091 MB / 1.416 GB, free: 7.57 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.093, allocations: 11.98 kB / 1.416 GB, free: 7.559 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/1.093, allocations: 202.7 kB / 1.416 GB, free: 7.352 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/1.096, allocations: 418.5 kB / 1.416 GB, free: 6.941 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/1.098, allocations: 1.047 MB / 1.418 GB, free: 5.848 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/1.098, allocations: 98.72 kB / 1.418 GB, free: 5.75 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.099, allocations: 132 kB / 1.418 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/1.101, allocations: 1.524 MB / 1.419 GB, free: 4.02 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/1.101, allocations: 3.938 kB / 1.419 GB, free: 4.016 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/1.102, allocations: 60 kB / 1.419 GB, free: 3.957 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/1.102, allocations: 32 kB / 1.419 GB, free: 3.926 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/1.105, allocations: 1.587 MB / 1.421 GB, free: 2.332 MB / 1.123 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.008933/1.114, allocations: 5.304 MB / 1.426 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/1.116, allocations: 1.448 MB / 1.427 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008839/1.117, allocations: 448.1 kB / 1.428 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008382/1.118, allocations: 425.3 kB / 1.428 GB, free: 10.26 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/1.12, allocations: 0.6931 MB / 1.429 GB, free: 9.551 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 3.707e-06/1.12, allocations: 3.938 kB / 1.429 GB, free: 9.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=107): time 0.005007/1.125, allocations: 1.661 MB / 1.431 GB, free: 7.855 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/1.125, allocations: 196.9 kB / 1.431 GB, free: 7.621 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.126, allocations: 0.896 MB / 1.432 GB, free: 6.703 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/1.126, allocations: 49.7 kB / 1.432 GB, free: 6.648 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/1.127, allocations: 0.5986 MB / 1.432 GB, free: 6.043 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/1.127, allocations: 384.7 kB / 1.433 GB, free: 5.664 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/1.128, allocations: 198.5 kB / 1.433 GB, free: 5.465 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.128, allocations: 345.9 kB / 1.433 GB, free: 5.121 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/1.129, allocations: 377.8 kB / 1.434 GB, free: 4.75 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/1.13, allocations: 0.5632 MB / 1.434 GB, free: 4.125 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/1.132, allocations: 0.9254 MB / 1.435 GB, free: 3.156 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/1.132, allocations: 4 kB / 1.435 GB, free: 3.152 MB / 1.139 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002959/1.135, allocations: 1.188 MB / 1.436 GB, free: 1.957 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.135, allocations: 4 kB / 1.436 GB, free: 1.953 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.135, allocations: 4 kB / 1.436 GB, free: 1.949 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/1.136, allocations: 93.17 kB / 1.436 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.137, allocations: 247.5 kB / 1.436 GB, free: 1.613 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/1.14, allocations: 1.647 MB / 1.438 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.141, allocations: 143.2 kB / 1.438 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/1.141, allocations: 43.97 kB / 1.438 GB, free: 15.64 MB / 1.154 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.000869/1.142, allocations: 337.5 kB / 1.439 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/1.142, allocations: 127.2 kB / 1.439 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/1.145, allocations: 1.429 MB / 1.44 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.145, allocations: 16 kB / 1.44 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.145, allocations: 0 / 1.44 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.145, allocations: 7.969 kB / 1.44 GB, free: 13.71 MB / 1.154 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.005519/1.151, allocations: 2.879 MB / 1.443 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.151, allocations: 0 / 1.443 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/1.152, allocations: 223.7 kB / 1.443 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.152, allocations: 72.72 kB / 1.443 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/1.153, allocations: 31.97 kB / 1.443 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/1.155, allocations: 1.674 MB / 1.445 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.155, allocations: 0 / 1.445 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/1.158, allocations: 1.334 MB / 1.446 GB, free: 7.238 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/1.159, allocations: 363.8 kB / 1.447 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.159, allocations: 27.94 kB / 1.447 GB, free: 6.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/1.16, allocations: 81.95 kB / 1.447 GB, free: 6.758 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.16, allocations: 84.88 kB / 1.447 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.16, allocations: 55.95 kB / 1.447 GB, free: 6.621 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001022/1.161, allocations: 0.615 MB / 1.447 GB, free: 5.996 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/1.161, allocations: 0 / 1.447 GB, free: 5.996 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00143/1.163, allocations: 498.7 kB / 1.448 GB, free: 5.508 MB / 1.154 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.005511/1.168, allocations: 2.494 MB / 1.45 GB, free: 3.164 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002622/1.171, allocations: 1.078 MB / 1.451 GB, free: 2.074 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.171, allocations: 4 kB / 1.451 GB, free: 2.07 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.172, allocations: 0.6367 MB / 1.452 GB, free: 1.422 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.174, allocations: 0.5305 MB / 1.452 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.192, allocations: 8.925 MB / 1.461 GB, free: 7.781 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.193, allocations: 1.209 MB / 1.462 GB, free: 6.543 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001593/1.194, allocations: 389.8 kB / 1.463 GB, free: 6.16 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009519/1.195, allocations: 0.5734 MB / 1.463 GB, free: 5.586 MB / 1.17 GB Notification: Performance of SimCode: time 1.633e-06/1.195, allocations: 0 / 1.463 GB, free: 5.586 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/1.316, allocations: 34.17 MB / 1.497 GB, free: 3.723 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.63, allocations: 15.97 kB / 1.497 GB, free: 3.707 MB / 1.201 GB " [Timeout remaining time 283] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 22.7566673560068]