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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0098/0.0098, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 68.09 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.8771, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2029/1.08, allocations: 176.8 MB / 1.38 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01808/1.098, allocations: 12.81 MB / 1.392 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.1, allocations: 27.88 kB / 1.392 GB, free: 15.18 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/1.102, allocations: 476.3 kB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/1.106, allocations: 1.025 MB / 1.394 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005413/1.111, allocations: 1.871 MB / 1.396 GB, free: 11.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003962/1.115, allocations: 2.532 MB / 1.398 GB, free: 9.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/1.118, allocations: 1.61 MB / 1.4 GB, free: 7.617 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/1.123, allocations: 1.432 MB / 1.401 GB, free: 6.207 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/1.125, allocations: 0.8831 MB / 1.402 GB, free: 5.32 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007302/1.125, allocations: 168 kB / 1.402 GB, free: 5.156 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/1.13, allocations: 1.423 MB / 1.404 GB, free: 3.73 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000906/1.131, allocations: 498.5 kB / 1.404 GB, free: 3.242 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/1.133, allocations: 0.8864 MB / 1.405 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/1.138, allocations: 2.796 MB / 1.408 GB, free: 15.55 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.138, allocations: 0 / 1.408 GB, free: 15.55 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.843e-06/1.138, allocations: 0 / 1.408 GB, free: 15.55 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001002/1.138, allocations: 0 / 1.408 GB, free: 15.55 MB / 1.139 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.005098/1.144, allocations: 2.032 MB / 1.41 GB, free: 13.45 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.144, allocations: 8.031 kB / 1.41 GB, free: 13.45 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004261/1.144, allocations: 214.6 kB / 1.41 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/1.147, allocations: 401.6 kB / 1.41 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/1.149, allocations: 1.027 MB / 1.411 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.15, allocations: 102.7 kB / 1.411 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/1.15, allocations: 136 kB / 1.411 GB, free: 11.53 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/1.153, allocations: 1.524 MB / 1.413 GB, free: 9.926 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.153, allocations: 4 kB / 1.413 GB, free: 9.922 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.153, allocations: 59.98 kB / 1.413 GB, free: 9.863 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/1.153, allocations: 36 kB / 1.413 GB, free: 9.828 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/1.155, allocations: 1.579 MB / 1.415 GB, free: 8.242 MB / 1.139 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.007694/1.163, allocations: 5.294 MB / 1.42 GB, free: 2.625 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/1.166, allocations: 1.514 MB / 1.421 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/1.167, allocations: 480.9 kB / 1.422 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007597/1.167, allocations: 437.2 kB / 1.422 GB, free: 56 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.169, allocations: 0.6918 MB / 1.423 GB, free: 15.34 MB / 1.154 GB Notification: Performance of pre-optimization done (n=107): time 2.755e-06/1.169, allocations: 3.938 kB / 1.423 GB, free: 15.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=107): time 0.004524/1.173, allocations: 1.668 MB / 1.424 GB, free: 13.64 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.173, allocations: 196.9 kB / 1.425 GB, free: 13.41 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.175, allocations: 0.8922 MB / 1.425 GB, free: 12.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.175, allocations: 49.7 kB / 1.426 GB, free: 12.44 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/1.176, allocations: 0.5896 MB / 1.426 GB, free: 11.84 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/1.176, allocations: 358.9 kB / 1.426 GB, free: 11.49 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.176, allocations: 198.5 kB / 1.427 GB, free: 11.29 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.177, allocations: 341.9 kB / 1.427 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/1.177, allocations: 381.8 kB / 1.427 GB, free: 10.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009884/1.178, allocations: 0.5554 MB / 1.428 GB, free: 9.957 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/1.18, allocations: 0.9332 MB / 1.429 GB, free: 8.98 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.18, allocations: 4 kB / 1.429 GB, free: 8.977 MB / 1.154 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003311/1.184, allocations: 1.184 MB / 1.43 GB, free: 7.785 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/1.184, allocations: 12.06 kB / 1.43 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.184, allocations: 4 kB / 1.43 GB, free: 7.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/1.184, allocations: 88.7 kB / 1.43 GB, free: 7.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.185, allocations: 243.7 kB / 1.43 GB, free: 7.441 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.188, allocations: 1.655 MB / 1.432 GB, free: 5.645 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.189, allocations: 137.7 kB / 1.432 GB, free: 5.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/1.189, allocations: 43.97 kB / 1.432 GB, free: 5.469 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.0006978/1.19, allocations: 337.7 kB / 1.432 GB, free: 5.129 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/1.19, allocations: 118.6 kB / 1.433 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/1.193, allocations: 1.437 MB / 1.434 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.193, allocations: 8 kB / 1.434 GB, free: 3.555 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.193, allocations: 4 kB / 1.434 GB, free: 3.551 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.193, allocations: 8.016 kB / 1.434 GB, free: 3.543 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.004986/1.198, allocations: 2.883 MB / 1.437 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.198, allocations: 4 kB / 1.437 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009817/1.199, allocations: 219.7 kB / 1.437 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/1.2, allocations: 76.72 kB / 1.437 GB, free: 288 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/1.2, allocations: 35.97 kB / 1.437 GB, free: 252 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/1.202, allocations: 1.666 MB / 1.439 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.202, allocations: 0 / 1.439 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/1.205, allocations: 1.326 MB / 1.44 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/1.205, allocations: 351.2 kB / 1.44 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.206, allocations: 31.94 kB / 1.44 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/1.207, allocations: 75.92 kB / 1.44 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.207, allocations: 84.88 kB / 1.441 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.207, allocations: 59.89 kB / 1.441 GB, free: 12.48 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009951/1.208, allocations: 0.6189 MB / 1.441 GB, free: 11.85 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.3e-07/1.208, allocations: 0 / 1.441 GB, free: 11.85 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001323/1.209, allocations: 494.8 kB / 1.442 GB, free: 11.36 MB / 1.17 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.004669/1.214, allocations: 2.469 MB / 1.444 GB, free: 9.051 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00256/1.216, allocations: 1.128 MB / 1.445 GB, free: 7.906 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.216, allocations: 0.6875 kB / 1.445 GB, free: 7.906 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/1.218, allocations: 0.6758 MB / 1.446 GB, free: 7.223 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.22, allocations: 0.5353 MB / 1.446 GB, free: 6.711 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.236, allocations: 8.878 MB / 1.455 GB, free: 13.62 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/1.237, allocations: 1.212 MB / 1.456 GB, free: 12.38 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001386/1.239, allocations: 393.9 kB / 1.457 GB, free: 12 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000838/1.24, allocations: 0.5695 MB / 1.457 GB, free: 11.42 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/1.24, allocations: 0 / 1.457 GB, free: 11.42 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/1.312, allocations: 34.6 MB / 1.491 GB, free: 9.277 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/15.09, allocations: 1.969 kB / 1.491 GB, free: 9.277 MB / 1.217 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) 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) Reference file matches