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.004532/0.004532, allocations: 108.5 kB / 15.74 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.001047/0.001047, allocations: 193.2 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.143/2.143, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.64 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.236, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005276/0.2414, allocations: 4.429 MB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1415/0.3829, allocations: 150.6 MB / 1.239 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.3837, allocations: 19.88 kB / 1.239 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007679/0.3845, allocations: 166.4 kB / 1.239 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.3864, allocations: 0.5112 MB / 1.239 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.3886, allocations: 0.8356 MB / 1.24 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.3901, allocations: 1.347 MB / 1.242 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.391, allocations: 0.5596 MB / 1.242 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.3916, allocations: 478.3 kB / 1.243 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.3923, allocations: 487.8 kB / 1.243 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.3925, allocations: 112 kB / 1.243 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.3939, allocations: 0.8699 MB / 1.244 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.3942, allocations: 291 kB / 1.244 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005507/0.3948, allocations: 0.5246 MB / 1.245 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.3969, allocations: 1.773 MB / 1.247 GB, free: 14.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3969, allocations: 0 / 1.247 GB, free: 14.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3969, allocations: 7.875 kB / 1.247 GB, free: 14.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.443e-05/0.397, allocations: 0 / 1.247 GB, free: 14.46 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.002504/0.3995, allocations: 1.446 MB / 1.248 GB, free: 12.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3995, allocations: 8.031 kB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.3997, allocations: 130.8 kB / 1.248 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.4008, allocations: 203.4 kB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.4018, allocations: 0.7662 MB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.4018, allocations: 58 kB / 1.249 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.72e-05/0.4019, allocations: 72 kB / 1.249 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.4034, allocations: 0.8958 MB / 1.25 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.4034, allocations: 7.875 kB / 1.25 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.4035, allocations: 32 kB / 1.25 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.4035, allocations: 20 kB / 1.25 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.4054, allocations: 1.128 MB / 1.251 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.4088, allocations: 2.469 MB / 1.254 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.4103, allocations: 0.8196 MB / 1.254 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.411, allocations: 334.6 kB / 1.255 GB, free: 5.863 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.4111, allocations: 44.53 kB / 1.255 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009384/0.412, allocations: 0.527 MB / 1.255 GB, free: 5.277 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.4121, allocations: 0 / 1.255 GB, free: 5.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003467/0.4155, allocations: 1.287 MB / 1.257 GB, free: 3.961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.4156, allocations: 192.6 kB / 1.257 GB, free: 3.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.4164, allocations: 0.6411 MB / 1.257 GB, free: 3.082 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.4165, allocations: 41.7 kB / 1.257 GB, free: 3.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.4167, allocations: 380.6 kB / 1.258 GB, free: 2.656 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.4169, allocations: 268.1 kB / 1.258 GB, free: 2.391 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.4171, allocations: 150.5 kB / 1.258 GB, free: 2.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4173, allocations: 398.7 kB / 1.259 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.418, allocations: 273.8 kB / 1.259 GB, free: 1.574 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.4187, allocations: 403.3 kB / 1.259 GB, free: 1.145 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4201, allocations: 0.6432 MB / 1.26 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4201, allocations: 3.938 kB / 1.26 GB, free: 500 kB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.4635/0.8837, allocations: 0.8672 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.8837, allocations: 6.219 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.8837, allocations: 0.875 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.8844, allocations: 87.08 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.8851, allocations: 164.5 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.8869, allocations: 1.647 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.8877, allocations: 94.86 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.8878, allocations: 34.55 kB / 1.263 GB, free: 172.1 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.000412/0.8882, allocations: 268.6 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.8884, allocations: 89.25 kB / 1.263 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.8913, allocations: 1.199 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.8913, allocations: 9.438 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8914, allocations: 1.875 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.8914, allocations: 5.391 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.8926, allocations: 0.9173 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8926, allocations: 1.484 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.8933, allocations: 158.6 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.8938, allocations: 76.12 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.8938, allocations: 31.55 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.8954, allocations: 1.675 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8954, allocations: 3.875 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.8977, allocations: 1.008 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.8981, allocations: 287.4 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.8982, allocations: 19.12 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.8989, allocations: 71.73 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.899, allocations: 75.11 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.8991, allocations: 43.36 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005661/0.8997, allocations: 465 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8997, allocations: 0 / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008934/0.9006, allocations: 314 kB / 1.269 GB, free: 169.2 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.003722/0.9043, allocations: 2.07 MB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.9064, allocations: 0.8725 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9064, allocations: 0.7188 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.9075, allocations: 0.554 MB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.9088, allocations: 307 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.9217, allocations: 6.48 MB / 1.279 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.9225, allocations: 1.018 MB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001045/0.9236, allocations: 277.5 kB / 1.28 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.9241, allocations: 379.3 kB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.9242, allocations: 4 kB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.976, allocations: 22.14 MB / 1.302 GB, free: 155.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.96, allocations: 5.188 kB / 1.302 GB, free: 155.8 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