Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_latest_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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 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.0009904/0.0009904, allocations: 197 kB / 16.54 MB, free: 6.672 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.443/2.443, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 61.09 kB / 0.9082 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006246/0.299, allocations: 4.703 MB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.154/0.453, allocations: 150.6 MB / 1.215 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008472/0.4539, allocations: 15.94 kB / 1.215 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.4546, allocations: 182.3 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.4566, allocations: 0.5263 MB / 1.216 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.4588, allocations: 0.8475 MB / 1.217 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.4603, allocations: 1.374 MB / 1.218 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007513/0.4611, allocations: 0.5311 MB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005881/0.4617, allocations: 486.2 kB / 1.219 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.4622, allocations: 489.9 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.4624, allocations: 108 kB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.4637, allocations: 0.8544 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.464, allocations: 291.1 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.4644, allocations: 0.5285 MB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.4661, allocations: 1.745 MB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4661, allocations: 4 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4661, allocations: 0 / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.4661, allocations: 0 / 1.223 GB, free: 10.58 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.002385/0.4685, allocations: 1.451 MB / 1.224 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4686, allocations: 12.03 kB / 1.224 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.4687, allocations: 126.8 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.4698, allocations: 203.4 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.4708, allocations: 0.7544 MB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.4708, allocations: 62 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/0.4709, allocations: 72 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.4724, allocations: 0.888 MB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4724, allocations: 4 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.4725, allocations: 35.98 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.4725, allocations: 16 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4745, allocations: 1.128 MB / 1.228 GB, free: 5.699 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.003575/0.4781, allocations: 2.608 MB / 1.23 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.4797, allocations: 0.8381 MB / 1.231 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.4804, allocations: 330.7 kB / 1.231 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.4805, allocations: 36.53 kB / 1.231 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.4815, allocations: 0.5327 MB / 1.232 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.883e-06/0.4815, allocations: 0 / 1.232 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.00344/0.485, allocations: 1.287 MB / 1.233 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.4851, allocations: 188.6 kB / 1.233 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.4858, allocations: 0.6412 MB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.4858, allocations: 41.7 kB / 1.234 GB, free: 15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4861, allocations: 380.6 kB / 1.234 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.4863, allocations: 268 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.4865, allocations: 146.6 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4867, allocations: 398.7 kB / 1.235 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.4874, allocations: 273.8 kB / 1.235 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.4881, allocations: 387.4 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.4895, allocations: 0.6549 MB / 1.236 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4895, allocations: 3.938 kB / 1.236 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002165/0.4917, allocations: 0.8681 MB / 1.237 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4917, allocations: 11.94 kB / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4917, allocations: 0 / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.4923, allocations: 84.91 kB / 1.237 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.493, allocations: 171.8 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.495, allocations: 1.65 MB / 1.239 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.4957, allocations: 97.22 kB / 1.239 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.4958, allocations: 31.98 kB / 1.239 GB, free: 9.398 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.0003465/0.4961, allocations: 275.3 kB / 1.24 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4963, allocations: 86.97 kB / 1.24 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.4991, allocations: 1.195 MB / 1.241 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4991, allocations: 12 kB / 1.241 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4991, allocations: 0 / 1.241 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4992, allocations: 11.91 kB / 1.241 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.5001, allocations: 0.9074 MB / 1.242 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5001, allocations: 0 / 1.242 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/0.5008, allocations: 171.8 kB / 1.242 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.5012, allocations: 76.77 kB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.5013, allocations: 27.98 kB / 1.242 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.5031, allocations: 1.677 MB / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5031, allocations: 0 / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.5052, allocations: 1.002 MB / 1.245 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.5055, allocations: 279.7 kB / 1.245 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5057, allocations: 23.98 kB / 1.245 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.5063, allocations: 71.92 kB / 1.245 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.5064, allocations: 76.89 kB / 1.245 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.5065, allocations: 39.97 kB / 1.245 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000477/0.507, allocations: 466.9 kB / 1.245 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.507, allocations: 0 / 1.245 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007203/0.5077, allocations: 327.3 kB / 1.246 GB, free: 2.453 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.00339/0.5111, allocations: 2.082 MB / 1.248 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3887/0.8999, allocations: 1.071 MB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8999, allocations: 1.656 kB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.901, allocations: 0.5535 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.9025, allocations: 304.3 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.914, allocations: 6.607 MB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.9144, allocations: 1.017 MB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008408/0.9152, allocations: 273.3 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.9157, allocations: 381.5 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.92e-07/0.9157, allocations: 0 / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.9609, allocations: 22.2 MB / 1.279 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.24, allocations: 15.14 kB / 1.279 GB, free: 177.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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