Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001882/0.001882, allocations: 111.5 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.002025/0.002025, 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.47/1.47, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 63.91 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8625, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2168/1.079, allocations: 177.4 MB / 1.442 GB, free: 3.121 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01974/1.099, allocations: 12.88 MB / 1.455 GB, free: 6.203 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/1.101, allocations: 35.81 kB / 1.455 GB, free: 6.168 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/1.102, allocations: 488.3 kB / 1.455 GB, free: 5.688 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003643/1.106, allocations: 1.04 MB / 1.456 GB, free: 4.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005211/1.111, allocations: 1.898 MB / 1.458 GB, free: 2.754 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004137/1.115, allocations: 2.535 MB / 1.46 GB, free: 212 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/1.118, allocations: 1.313 MB / 1.462 GB, free: 14.84 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/1.123, allocations: 1.461 MB / 1.463 GB, free: 13.4 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/1.124, allocations: 0.9025 MB / 1.464 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003664/1.125, allocations: 172 kB / 1.464 GB, free: 12.33 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/1.128, allocations: 1.482 MB / 1.466 GB, free: 10.84 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006492/1.129, allocations: 0.4907 MB / 1.466 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/1.13, allocations: 0.8747 MB / 1.467 GB, free: 9.473 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005707/1.136, allocations: 2.81 MB / 1.47 GB, free: 6.652 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.136, allocations: 0 / 1.47 GB, free: 6.652 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.182e-06/1.136, allocations: 0 / 1.47 GB, free: 6.652 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.358e-05/1.136, allocations: 0 / 1.47 GB, free: 6.652 MB / 1.17 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.005728/1.142, allocations: 2.091 MB / 1.472 GB, free: 4.496 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.142, allocations: 11.97 kB / 1.472 GB, free: 4.484 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003666/1.142, allocations: 206.6 kB / 1.472 GB, free: 4.273 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004097/1.146, allocations: 418.5 kB / 1.472 GB, free: 3.863 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/1.149, allocations: 1.039 MB / 1.473 GB, free: 2.777 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.149, allocations: 102.7 kB / 1.473 GB, free: 2.676 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/1.15, allocations: 132 kB / 1.474 GB, free: 2.547 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004596/1.154, allocations: 1.517 MB / 1.475 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/1.154, allocations: 0 / 1.475 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/1.155, allocations: 68 kB / 1.475 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/1.155, allocations: 32 kB / 1.475 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/1.159, allocations: 1.579 MB / 1.477 GB, free: 15.27 MB / 1.186 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.01455/1.174, allocations: 5.316 MB / 1.482 GB, free: 9.637 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/1.178, allocations: 1.448 MB / 1.483 GB, free: 8.117 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.179, allocations: 442.5 kB / 1.484 GB, free: 7.684 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.181, allocations: 425.3 kB / 1.484 GB, free: 7.195 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/1.183, allocations: 0.6957 MB / 1.485 GB, free: 6.477 MB / 1.186 GB Notification: Performance of pre-optimization done (n=107): time 4.068e-06/1.183, allocations: 0 / 1.485 GB, free: 6.477 MB / 1.186 GB Notification: Performance of matching and sorting (n=107): time 0.006414/1.189, allocations: 1.673 MB / 1.486 GB, free: 4.781 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/1.189, allocations: 200.9 kB / 1.487 GB, free: 4.543 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/1.191, allocations: 0.8883 MB / 1.487 GB, free: 3.633 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/1.192, allocations: 45.7 kB / 1.488 GB, free: 3.582 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007963/1.192, allocations: 0.5986 MB / 1.488 GB, free: 2.977 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/1.193, allocations: 380.8 kB / 1.488 GB, free: 2.602 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/1.193, allocations: 202.5 kB / 1.489 GB, free: 2.395 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.194, allocations: 345.9 kB / 1.489 GB, free: 2.051 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.195, allocations: 373.8 kB / 1.489 GB, free: 1.688 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.196, allocations: 0.5593 MB / 1.49 GB, free: 1.066 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/1.199, allocations: 0.9332 MB / 1.491 GB, free: 92 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/1.199, allocations: 4 kB / 1.491 GB, free: 88 kB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00423/1.203, allocations: 1.185 MB / 1.492 GB, free: 14.89 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.203, allocations: 8 kB / 1.492 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.203, allocations: 0 / 1.492 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008353/1.204, allocations: 96.86 kB / 1.492 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.206, allocations: 243.7 kB / 1.492 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/1.209, allocations: 1.65 MB / 1.494 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.211, allocations: 131.1 kB / 1.494 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/1.211, allocations: 47.91 kB / 1.494 GB, free: 12.57 MB / 1.201 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.001198/1.212, allocations: 345.6 kB / 1.494 GB, free: 12.22 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006456/1.213, allocations: 127.2 kB / 1.495 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005442/1.218, allocations: 1.437 MB / 1.496 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.218, allocations: 12 kB / 1.496 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.218, allocations: 3.984 kB / 1.496 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/1.218, allocations: 3.984 kB / 1.496 GB, free: 10.63 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 postOpt removeSimpleEquations (simulation): time 0.006847/1.225, allocations: 2.883 MB / 1.499 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.225, allocations: 0 / 1.499 GB, free: 7.664 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.226, allocations: 219.7 kB / 1.499 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/1.227, allocations: 80.72 kB / 1.499 GB, free: 7.367 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.227, allocations: 31.97 kB / 1.499 GB, free: 7.336 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/1.229, allocations: 1.674 MB / 1.501 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.229, allocations: 0 / 1.501 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.233, allocations: 1.331 MB / 1.502 GB, free: 4.168 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.234, allocations: 367.8 kB / 1.502 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.234, allocations: 27.94 kB / 1.502 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.235, allocations: 83.75 kB / 1.502 GB, free: 3.684 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/1.235, allocations: 80.89 kB / 1.503 GB, free: 3.602 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.236, allocations: 59.89 kB / 1.503 GB, free: 3.543 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001273/1.237, allocations: 0.615 MB / 1.503 GB, free: 2.918 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/1.237, allocations: 0 / 1.503 GB, free: 2.918 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00201/1.239, allocations: 0.4948 MB / 1.504 GB, free: 2.422 MB / 1.201 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.006087/1.245, allocations: 2.485 MB / 1.506 GB, free: 108 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003014/1.248, allocations: 1.082 MB / 1.507 GB, free: 15.01 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.248, allocations: 8 kB / 1.507 GB, free: 15 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/1.249, allocations: 0.6289 MB / 1.508 GB, free: 14.37 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/1.252, allocations: 0.5397 MB / 1.508 GB, free: 13.85 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.27, allocations: 8.923 MB / 1.517 GB, free: 4.719 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.271, allocations: 1.213 MB / 1.518 GB, free: 3.477 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001632/1.273, allocations: 381.9 kB / 1.519 GB, free: 3.102 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/1.274, allocations: 0.5734 MB / 1.519 GB, free: 2.527 MB / 1.217 GB Notification: Performance of SimCode: time 1.893e-06/1.274, allocations: 3.938 kB / 1.519 GB, free: 2.523 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09175/1.365, allocations: 34.16 MB / 1.553 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/16.09, allocations: 8.781 kB / 1.553 GB, free: 0.7734 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.455909331794828]