Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.1.0-maint.11.x/package.mo", uses=false) 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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.002241/0.002241, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 66.58 kB / 0.9086 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2792, allocations: 159.1 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006938/0.2862, allocations: 4.696 MB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.4612, allocations: 150.6 MB / 1.216 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.462, allocations: 19.88 kB / 1.216 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.4627, allocations: 190.2 kB / 1.216 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.4643, allocations: 0.5239 MB / 1.216 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.4662, allocations: 0.8336 MB / 1.217 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.4676, allocations: 1.389 MB / 1.219 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.4684, allocations: 0.5272 MB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/0.469, allocations: 470.4 kB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006248/0.4696, allocations: 0.49 MB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.4698, allocations: 108 kB / 1.22 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4712, allocations: 0.8427 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.4715, allocations: 291 kB / 1.221 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.472, allocations: 0.5402 MB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.474, allocations: 1.749 MB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.474, allocations: 0 / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.474, allocations: 0 / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.4741, allocations: 3.938 kB / 1.223 GB, free: 10.37 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002666/0.4767, allocations: 1.45 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4768, allocations: 12.03 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.477, allocations: 122.8 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.4781, allocations: 211.4 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.4793, allocations: 0.7427 MB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.4793, allocations: 62 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4795, allocations: 72 kB / 1.226 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.4812, allocations: 0.8996 MB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.4812, allocations: 0 / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.4813, allocations: 32 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.4814, allocations: 20 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.4836, allocations: 1.132 MB / 1.228 GB, free: 5.48 MB / 0.9825 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.004276/0.4879, allocations: 2.607 MB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4897, allocations: 0.8327 MB / 1.231 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/0.4905, allocations: 330.7 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-05/0.4906, allocations: 40.53 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.4917, allocations: 0.5322 MB / 1.232 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.4917, allocations: 0 / 1.232 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003887/0.4956, allocations: 1.283 MB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4957, allocations: 188.6 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.4966, allocations: 0.6373 MB / 1.234 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.4966, allocations: 45.69 kB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.497, allocations: 372.6 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.4972, allocations: 276 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.4975, allocations: 150.6 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4977, allocations: 390.7 kB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007266/0.4984, allocations: 277.8 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/0.4993, allocations: 395.4 kB / 1.236 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.5008, allocations: 0.6432 MB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5009, allocations: 0 / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002394/0.5033, allocations: 0.876 MB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5033, allocations: 4 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5033, allocations: 7.938 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.5039, allocations: 84.89 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.5047, allocations: 163.7 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.5072, allocations: 1.658 MB / 1.24 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.5079, allocations: 104.7 kB / 1.24 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.508, allocations: 31.97 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (89): * Single equations (assignments): 88 * 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.0003882/0.5084, allocations: 263.4 kB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.5086, allocations: 82.97 kB / 1.24 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.5118, allocations: 1.206 MB / 1.241 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5119, allocations: 11.98 kB / 1.241 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5119, allocations: 4 kB / 1.241 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.5119, allocations: 7.922 kB / 1.241 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.513, allocations: 0.9074 MB / 1.242 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.513, allocations: 0 / 1.242 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007281/0.5138, allocations: 167.7 kB / 1.242 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.5143, allocations: 72.78 kB / 1.242 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.5143, allocations: 27.98 kB / 1.242 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.5165, allocations: 1.682 MB / 1.244 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5165, allocations: 8.047 kB / 1.244 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.519, allocations: 0.998 MB / 1.245 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.5194, allocations: 283.7 kB / 1.245 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.5195, allocations: 24 kB / 1.245 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/0.5203, allocations: 71.92 kB / 1.245 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5204, allocations: 68.89 kB / 1.245 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/0.5205, allocations: 39.97 kB / 1.245 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006068/0.5211, allocations: 471 kB / 1.246 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5211, allocations: 0 / 1.246 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008115/0.522, allocations: 327.3 kB / 1.246 GB, free: 2.238 MB / 0.9981 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,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * 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.004633/0.5266, allocations: 2.075 MB / 1.248 GB, free: 316 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3877/0.9143, allocations: 1.074 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9143, allocations: 0.75 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.9154, allocations: 0.557 MB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.9167, allocations: 297.4 kB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.9268, allocations: 6.602 MB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.9271, allocations: 1.016 MB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008479/0.928, allocations: 279.3 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.9284, allocations: 382.9 kB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.9285, allocations: 0 / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05725/0.9857, allocations: 22.21 MB / 1.28 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.8, allocations: 9.812 kB / 1.28 GB, free: 177.2 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[505]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,weaDatInpCon.HGloHor_in,weaDatInpCon.weaBus.HDifHor,weaDatInpCon.weaBus.HDirNor Variables in the result:time,weaDatInpCon.HDifHor_in,weaDatInpCon.HGloHor_in,weaDatInpCon.weaBus.HDifHor,weaDatInpCon.weaBus.HDirNor,weaDatInpCon.weaBus.HGloHor