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.001275/0.001275, allocations: 111.4 kB / 16.41 MB, free: 6.508 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.001349/0.001349, allocations: 196.5 kB / 19.35 MB, free: 3.73 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.472/1.472, allocations: 222.9 MB / 245.1 MB, free: 15 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.632/2.632, allocations: 437.1 MB / 0.7171 GB, free: 4.047 MB / 0.5762 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.001926/0.001926, allocations: 71.89 kB / 1.027 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9158/0.9177, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2249/1.143, allocations: 176.8 MB / 1.347 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02029/1.163, allocations: 12.8 MB / 1.36 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/1.165, allocations: 31.81 kB / 1.36 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/1.167, allocations: 472.4 kB / 1.36 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003998/1.171, allocations: 1.033 MB / 1.361 GB, free: 9.176 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005872/1.177, allocations: 1.867 MB / 1.363 GB, free: 7.316 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004251/1.181, allocations: 2.536 MB / 1.366 GB, free: 4.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/1.184, allocations: 1.614 MB / 1.367 GB, free: 3.102 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/1.189, allocations: 1.419 MB / 1.369 GB, free: 1.707 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/1.192, allocations: 0.8792 MB / 1.369 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007799/1.192, allocations: 172 kB / 1.37 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/1.197, allocations: 1.431 MB / 1.371 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009275/1.198, allocations: 498.5 kB / 1.371 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/1.2, allocations: 0.8747 MB / 1.372 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006278/1.206, allocations: 2.814 MB / 1.375 GB, free: 11.03 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.206, allocations: 0 / 1.375 GB, free: 11.03 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.054e-06/1.206, allocations: 0 / 1.375 GB, free: 11.03 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.873e-05/1.206, allocations: 0 / 1.375 GB, free: 11.03 MB / 1.092 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.005706/1.212, allocations: 2.091 MB / 1.377 GB, free: 8.875 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.212, allocations: 12.03 kB / 1.377 GB, free: 8.863 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002664/1.212, allocations: 202.7 kB / 1.377 GB, free: 8.656 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/1.215, allocations: 410.6 kB / 1.378 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/1.217, allocations: 1.043 MB / 1.379 GB, free: 7.164 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/1.217, allocations: 98.72 kB / 1.379 GB, free: 7.066 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/1.217, allocations: 132 kB / 1.379 GB, free: 6.938 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/1.22, allocations: 1.524 MB / 1.38 GB, free: 5.336 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/1.22, allocations: 7.938 kB / 1.38 GB, free: 5.328 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.22, allocations: 60 kB / 1.381 GB, free: 5.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.22, allocations: 36 kB / 1.381 GB, free: 5.234 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/1.223, allocations: 1.579 MB / 1.382 GB, free: 3.648 MB / 1.092 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.007842/1.231, allocations: 5.307 MB / 1.387 GB, free: 14.03 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/1.234, allocations: 1.514 MB / 1.389 GB, free: 12.45 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009433/1.235, allocations: 484.1 kB / 1.389 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007975/1.236, allocations: 433.3 kB / 1.39 GB, free: 11.47 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/1.237, allocations: 0.6918 MB / 1.39 GB, free: 10.76 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 5.39e-06/1.237, allocations: 7.922 kB / 1.39 GB, free: 10.75 MB / 1.107 GB Notification: Performance of matching and sorting (n=107): time 0.004616/1.242, allocations: 1.669 MB / 1.392 GB, free: 9.055 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.242, allocations: 196.9 kB / 1.392 GB, free: 8.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.243, allocations: 0.8921 MB / 1.393 GB, free: 7.906 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.243, allocations: 49.7 kB / 1.393 GB, free: 7.852 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/1.244, allocations: 0.6025 MB / 1.394 GB, free: 7.242 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/1.244, allocations: 372.8 kB / 1.394 GB, free: 6.875 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/1.245, allocations: 198.5 kB / 1.394 GB, free: 6.676 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.245, allocations: 349.9 kB / 1.395 GB, free: 6.328 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009035/1.246, allocations: 377.8 kB / 1.395 GB, free: 5.957 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/1.247, allocations: 0.5593 MB / 1.395 GB, free: 5.336 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.249, allocations: 0.9332 MB / 1.396 GB, free: 4.359 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.249, allocations: 0 / 1.396 GB, free: 4.359 MB / 1.107 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003163/1.252, allocations: 1.196 MB / 1.398 GB, free: 3.156 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/1.252, allocations: 8 kB / 1.398 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.252, allocations: 4 kB / 1.398 GB, free: 3.145 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/1.253, allocations: 88.95 kB / 1.398 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.254, allocations: 247.6 kB / 1.398 GB, free: 2.812 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/1.257, allocations: 1.646 MB / 1.399 GB, free: 1.02 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.258, allocations: 136.8 kB / 1.4 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.805e-05/1.258, allocations: 47.97 kB / 1.4 GB, free: 0.8398 MB / 1.107 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.000761/1.259, allocations: 344 kB / 1.4 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/1.259, allocations: 127.2 kB / 1.4 GB, free: 380 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/1.262, allocations: 1.437 MB / 1.401 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/1.263, allocations: 12 kB / 1.401 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.263, allocations: 0 / 1.401 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.263, allocations: 11.97 kB / 1.402 GB, free: 14.9 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 postOpt removeSimpleEquations (simulation): time 0.005249/1.268, allocations: 2.872 MB / 1.404 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.268, allocations: 0 / 1.404 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/1.269, allocations: 219.7 kB / 1.405 GB, free: 11.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/1.269, allocations: 76.72 kB / 1.405 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.691e-05/1.269, allocations: 39.97 kB / 1.405 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.272, allocations: 1.678 MB / 1.406 GB, free: 9.781 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.272, allocations: 0 / 1.406 GB, free: 9.781 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/1.275, allocations: 1.331 MB / 1.408 GB, free: 8.43 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/1.276, allocations: 363.8 kB / 1.408 GB, free: 8.055 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/1.276, allocations: 31.88 kB / 1.408 GB, free: 8.023 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.277, allocations: 75.92 kB / 1.408 GB, free: 7.949 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.277, allocations: 84.88 kB / 1.408 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.277, allocations: 55.95 kB / 1.408 GB, free: 7.812 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001143/1.278, allocations: 0.615 MB / 1.409 GB, free: 7.188 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.278, allocations: 0 / 1.409 GB, free: 7.188 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001633/1.28, allocations: 0.4909 MB / 1.409 GB, free: 6.695 MB / 1.123 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.005552/1.286, allocations: 2.487 MB / 1.412 GB, free: 4.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002599/1.288, allocations: 1.113 MB / 1.413 GB, free: 3.215 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.288, allocations: 4 kB / 1.413 GB, free: 3.211 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/1.29, allocations: 0.6836 MB / 1.413 GB, free: 2.516 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/1.292, allocations: 0.5245 MB / 1.414 GB, free: 2.008 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.31, allocations: 8.92 MB / 1.423 GB, free: 8.879 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.312, allocations: 1.209 MB / 1.424 GB, free: 7.641 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001495/1.313, allocations: 389.8 kB / 1.424 GB, free: 7.258 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/1.314, allocations: 0.5773 MB / 1.425 GB, free: 6.68 MB / 1.139 GB Notification: Performance of SimCode: time 1.192e-06/1.314, allocations: 0 / 1.425 GB, free: 6.68 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08227/1.396, allocations: 34 MB / 1.458 GB, free: 5 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.11, allocations: 18.44 kB / 1.458 GB, free: 4.984 MB / 1.17 GB " [Timeout remaining time 284] (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.278021396137774]