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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00949/0.00949, allocations: 101.8 kB / 15.73 MB, free: 6.051 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.001884/0.001883, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2968, allocations: 151.6 MB / 1.166 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.8799/1.177, allocations: 176.8 MB / 1.339 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0186/1.195, allocations: 12.82 MB / 1.351 GB, free: 3.586 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/1.197, allocations: 28.91 kB / 1.351 GB, free: 3.578 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/1.199, allocations: 483.8 kB / 1.352 GB, free: 3.273 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003875/1.203, allocations: 1.052 MB / 1.353 GB, free: 2.645 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006212/1.209, allocations: 1.886 MB / 1.355 GB, free: 1.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004783/1.214, allocations: 2.539 MB / 1.357 GB, free: 424 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/1.217, allocations: 1.61 MB / 1.359 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005622/1.223, allocations: 1.465 MB / 1.36 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/1.225, allocations: 0.8834 MB / 1.361 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004537/1.226, allocations: 172.4 kB / 1.361 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/1.229, allocations: 1.42 MB / 1.363 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006027/1.23, allocations: 498.8 kB / 1.363 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/1.231, allocations: 0.877 MB / 1.364 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005011/1.236, allocations: 2.795 MB / 1.367 GB, free: 11.63 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.236, allocations: 0 / 1.367 GB, free: 11.63 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/1.236, allocations: 0 / 1.367 GB, free: 11.63 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.92e-05/1.236, allocations: 4 kB / 1.367 GB, free: 11.62 MB / 1.045 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.004261/1.241, allocations: 2.032 MB / 1.369 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.241, allocations: 11 kB / 1.369 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002542/1.241, allocations: 205.8 kB / 1.369 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/1.244, allocations: 404.1 kB / 1.369 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/1.245, allocations: 1.035 MB / 1.37 GB, free: 8.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/1.246, allocations: 105.1 kB / 1.37 GB, free: 8.883 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.246, allocations: 126.8 kB / 1.37 GB, free: 8.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/1.249, allocations: 1.524 MB / 1.372 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/1.249, allocations: 1.594 kB / 1.372 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.249, allocations: 57.81 kB / 1.372 GB, free: 7.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/1.249, allocations: 34.31 kB / 1.372 GB, free: 7.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/1.252, allocations: 1.584 MB / 1.374 GB, free: 7.059 MB / 1.045 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.00792/1.259, allocations: 5.299 MB / 1.379 GB, free: 2.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/1.262, allocations: 1.519 MB / 1.38 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/1.263, allocations: 485.6 kB / 1.381 GB, free: 1.336 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007681/1.264, allocations: 430.8 kB / 1.381 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/1.265, allocations: 0.688 MB / 1.382 GB, free: 492 kB / 1.045 GB Notification: Performance of pre-optimization done (n=107): time 2.655e-06/1.265, allocations: 0 / 1.382 GB, free: 492 kB / 1.045 GB Notification: Performance of matching and sorting (n=107): time 0.004468/1.269, allocations: 1.665 MB / 1.383 GB, free: 15.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.27, allocations: 199 kB / 1.384 GB, free: 15.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/1.271, allocations: 0.8951 MB / 1.384 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/1.271, allocations: 45.67 kB / 1.385 GB, free: 14.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/1.272, allocations: 0.5945 MB / 1.385 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/1.272, allocations: 356.2 kB / 1.385 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.272, allocations: 197.6 kB / 1.386 GB, free: 13.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.272, allocations: 344.1 kB / 1.386 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/1.273, allocations: 372.2 kB / 1.386 GB, free: 13.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/1.274, allocations: 0.5639 MB / 1.387 GB, free: 12.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.276, allocations: 0.931 MB / 1.388 GB, free: 12.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.276, allocations: 1.812 kB / 1.388 GB, free: 12.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002817/1.279, allocations: 1.194 MB / 1.389 GB, free: 11.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.279, allocations: 4.719 kB / 1.389 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.279, allocations: 5.406 kB / 1.389 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/1.279, allocations: 92.98 kB / 1.389 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.28, allocations: 242.8 kB / 1.389 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.283, allocations: 1.651 MB / 1.391 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.284, allocations: 140.1 kB / 1.391 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.284, allocations: 45.56 kB / 1.391 GB, free: 9.949 MB / 1.061 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.0007392/1.285, allocations: 336.5 kB / 1.391 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/1.285, allocations: 119.2 kB / 1.391 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/1.288, allocations: 1.429 MB / 1.393 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.289, allocations: 12.22 kB / 1.393 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.289, allocations: 3.984 kB / 1.393 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.289, allocations: 3.984 kB / 1.393 GB, free: 8.832 MB / 1.061 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.00529/1.294, allocations: 2.874 MB / 1.396 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.294, allocations: 4 kB / 1.396 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009835/1.295, allocations: 227.2 kB / 1.396 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/1.295, allocations: 72.34 kB / 1.396 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/1.295, allocations: 41.62 kB / 1.396 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/1.297, allocations: 1.672 MB / 1.398 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.297, allocations: 0 / 1.398 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/1.3, allocations: 1.329 MB / 1.399 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/1.301, allocations: 356 kB / 1.399 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.301, allocations: 21.22 kB / 1.399 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/1.302, allocations: 89.41 kB / 1.399 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.303, allocations: 83.58 kB / 1.399 GB, free: 4.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.303, allocations: 50.27 kB / 1.4 GB, free: 4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008968/1.304, allocations: 0.6191 MB / 1.4 GB, free: 3.641 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.8e-07/1.304, allocations: 0 / 1.4 GB, free: 3.641 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001575/1.305, allocations: 0.4895 MB / 1.401 GB, free: 3.5 MB / 1.061 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.004854/1.31, allocations: 2.477 MB / 1.403 GB, free: 1.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002691/1.313, allocations: 1.121 MB / 1.404 GB, free: 180 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/1.313, allocations: 0 / 1.404 GB, free: 180 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/1.314, allocations: 0.6797 MB / 1.405 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.317, allocations: 0.5352 MB / 1.405 GB, free: 14.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.333, allocations: 8.881 MB / 1.414 GB, free: 5.887 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/1.334, allocations: 1.219 MB / 1.415 GB, free: 4.641 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001423/1.336, allocations: 385.8 kB / 1.416 GB, free: 4.262 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/1.337, allocations: 0.5656 MB / 1.416 GB, free: 3.699 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/1.337, allocations: 0 / 1.416 GB, free: 3.699 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0787/1.415, allocations: 34 MB / 1.449 GB, free: 2.109 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/15.04, allocations: 4.062 kB / 1.449 GB, free: 2.105 MB / 1.107 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches