Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_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.006776/0.006776, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.00166/0.00166, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.246/1.246, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 58.22 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2351, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005973/0.2411, allocations: 4.429 MB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.3931, allocations: 150.6 MB / 1.239 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.3939, allocations: 15.94 kB / 1.239 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.3946, allocations: 182.3 kB / 1.239 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.3964, allocations: 0.5151 MB / 1.24 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.3984, allocations: 0.8331 MB / 1.24 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.3999, allocations: 1.343 MB / 1.242 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008907/0.4008, allocations: 0.5621 MB / 1.242 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.4016, allocations: 474.4 kB / 1.243 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.4023, allocations: 493.8 kB / 1.243 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.4025, allocations: 108 kB / 1.243 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.4041, allocations: 0.87 MB / 1.244 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.4044, allocations: 291 kB / 1.244 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.405, allocations: 0.5207 MB / 1.245 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.4073, allocations: 1.79 MB / 1.247 GB, free: 14.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4073, allocations: 0 / 1.247 GB, free: 14.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4073, allocations: 0 / 1.247 GB, free: 14.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.574e-05/0.4074, allocations: 8 kB / 1.247 GB, free: 14.39 MB / 1.014 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.00292/0.4103, allocations: 1.483 MB / 1.248 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4103, allocations: 11.97 kB / 1.248 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.4105, allocations: 126.8 kB / 1.248 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.4117, allocations: 208 kB / 1.248 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.413, allocations: 0.7784 MB / 1.249 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.413, allocations: 54 kB / 1.249 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4132, allocations: 76 kB / 1.249 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.4148, allocations: 0.888 MB / 1.25 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.4148, allocations: 0 / 1.25 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.4149, allocations: 36 kB / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.4149, allocations: 23.94 kB / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.417, allocations: 1.128 MB / 1.251 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.4209, allocations: 2.485 MB / 1.254 GB, free: 6.883 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.4225, allocations: 0.8323 MB / 1.255 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/0.4232, allocations: 330.7 kB / 1.255 GB, free: 5.723 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.4233, allocations: 36.55 kB / 1.255 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.4243, allocations: 0.5303 MB / 1.255 GB, free: 5.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.4243, allocations: 0 / 1.255 GB, free: 5.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003528/0.4279, allocations: 1.292 MB / 1.257 GB, free: 3.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.428, allocations: 188.6 kB / 1.257 GB, free: 3.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.4288, allocations: 0.6372 MB / 1.257 GB, free: 2.945 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.4289, allocations: 45.7 kB / 1.257 GB, free: 2.895 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.4291, allocations: 389 kB / 1.258 GB, free: 2.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.4295, allocations: 277.7 kB / 1.258 GB, free: 2.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.4298, allocations: 158.6 kB / 1.258 GB, free: 2.074 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4299, allocations: 386.7 kB / 1.259 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.4307, allocations: 277.8 kB / 1.259 GB, free: 1.418 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008196/0.4315, allocations: 395.4 kB / 1.259 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4329, allocations: 0.6432 MB / 1.26 GB, free: 352 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.4329, allocations: 4 kB / 1.26 GB, free: 348 kB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.4797/0.9127, allocations: 0.8687 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.9127, allocations: 7.203 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9127, allocations: 0.9375 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/0.9134, allocations: 86.16 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.9141, allocations: 167.4 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.9158, allocations: 1.65 MB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.9166, allocations: 102.6 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.9166, allocations: 30.48 kB / 1.263 GB, free: 172 MB / 1.014 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.000379/0.917, allocations: 268.5 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.9172, allocations: 89.05 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.9201, allocations: 1.207 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.9201, allocations: 9.562 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.9201, allocations: 4.5 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.9201, allocations: 9.047 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.9212, allocations: 0.9192 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.9212, allocations: 1.031 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.9219, allocations: 163.3 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.9223, allocations: 73.19 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.9224, allocations: 27.44 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.924, allocations: 1.675 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.924, allocations: 3.156 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.9262, allocations: 1.004 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.9265, allocations: 294.2 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.9267, allocations: 22.02 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.9273, allocations: 73.88 kB / 1.268 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.9275, allocations: 73.06 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.9276, allocations: 41.47 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005803/0.9282, allocations: 468.2 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.9282, allocations: 4 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008068/0.929, allocations: 316.1 kB / 1.269 GB, free: 169 MB / 1.014 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.003592/0.9326, allocations: 2.079 MB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.9345, allocations: 0.8706 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.9345, allocations: 3.625 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.9357, allocations: 0.5511 MB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.9369, allocations: 302.3 kB / 1.273 GB, free: 167.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.9481, allocations: 6.505 MB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.9486, allocations: 1.015 MB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008119/0.9494, allocations: 281 kB / 1.281 GB, free: 163.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.9499, allocations: 378.9 kB / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of SimCode: time 7.22e-07/0.9499, allocations: 0 / 1.281 GB, free: 163 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.9951, allocations: 22.14 MB / 1.303 GB, free: 155.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.53, allocations: 15.16 kB / 1.303 GB, free: 155.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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