Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_10_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.007341/0.007341, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001761/0.001761, allocations: 192.8 kB / 16.67 MB, free: 5.926 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.391/2.391, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 67.91 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7123, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00567/0.718, allocations: 4.703 MB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1406/0.8586, allocations: 150.6 MB / 1.318 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008736/0.8596, allocations: 19.94 kB / 1.318 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.8601, allocations: 182.2 kB / 1.318 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.8616, allocations: 0.5403 MB / 1.318 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.8634, allocations: 0.8417 MB / 1.319 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.8646, allocations: 1.397 MB / 1.321 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007017/0.8653, allocations: 0.5337 MB / 1.321 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00054/0.8658, allocations: 482.4 kB / 1.322 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.8663, allocations: 497.9 kB / 1.322 GB, free: 3.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.8665, allocations: 108 kB / 1.322 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.8678, allocations: 0.8777 MB / 1.323 GB, free: 2.398 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.8681, allocations: 279.1 kB / 1.323 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.8685, allocations: 0.5363 MB / 1.324 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.8704, allocations: 1.791 MB / 1.326 GB, free: 15.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8704, allocations: 0 / 1.326 GB, free: 15.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8704, allocations: 0 / 1.326 GB, free: 15.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.8704, allocations: 0 / 1.326 GB, free: 15.79 MB / 1.061 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.00239/0.8728, allocations: 1.502 MB / 1.327 GB, free: 14.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8728, allocations: 8.922 kB / 1.327 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.873, allocations: 126.8 kB / 1.327 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.8741, allocations: 212 kB / 1.327 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.8752, allocations: 0.7707 MB / 1.328 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.8753, allocations: 57.98 kB / 1.328 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.8754, allocations: 72 kB / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.8769, allocations: 0.8958 MB / 1.329 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.877, allocations: 7.938 kB / 1.329 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.8771, allocations: 32 kB / 1.329 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.8771, allocations: 16 kB / 1.329 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.8791, allocations: 1.128 MB / 1.33 GB, free: 10.82 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 preOpt removeSimpleEquations (simulation): time 0.003691/0.8828, allocations: 2.594 MB / 1.333 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.8843, allocations: 0.8365 MB / 1.334 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.885, allocations: 334.7 kB / 1.334 GB, free: 6.969 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.742e-05/0.8851, allocations: 32.56 kB / 1.334 GB, free: 6.938 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009906/0.8861, allocations: 0.5317 MB / 1.335 GB, free: 6.387 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.013e-06/0.8861, allocations: 0 / 1.335 GB, free: 6.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003447/0.8895, allocations: 1.292 MB / 1.336 GB, free: 5.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.8897, allocations: 188.6 kB / 1.336 GB, free: 4.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.8904, allocations: 0.6411 MB / 1.337 GB, free: 4.191 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.8904, allocations: 41.7 kB / 1.337 GB, free: 4.145 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.8907, allocations: 385.1 kB / 1.337 GB, free: 3.762 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.8909, allocations: 285.6 kB / 1.337 GB, free: 3.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.8911, allocations: 154.6 kB / 1.337 GB, free: 3.324 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8913, allocations: 386.7 kB / 1.338 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.8919, allocations: 277.8 kB / 1.338 GB, free: 2.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.8927, allocations: 403.2 kB / 1.338 GB, free: 2.242 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.8941, allocations: 0.6432 MB / 1.339 GB, free: 1.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8941, allocations: 0 / 1.339 GB, free: 1.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00212/0.8962, allocations: 0.8765 MB / 1.34 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8962, allocations: 8 kB / 1.34 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8962, allocations: 0 / 1.34 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/0.8968, allocations: 84.89 kB / 1.34 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.8975, allocations: 167.8 kB / 1.34 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.8995, allocations: 1.646 MB / 1.342 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.9002, allocations: 102.1 kB / 1.342 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.9003, allocations: 40.03 kB / 1.342 GB, free: 14.51 MB / 1.076 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.0003628/0.9007, allocations: 263.4 kB / 1.342 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.9008, allocations: 91.42 kB / 1.342 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.9036, allocations: 1.203 MB / 1.343 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.9036, allocations: 12 kB / 1.343 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9037, allocations: 0 / 1.343 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.9037, allocations: 11.86 kB / 1.343 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.9047, allocations: 0.9154 MB / 1.344 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9047, allocations: 4 kB / 1.344 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.9054, allocations: 159.8 kB / 1.345 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.9058, allocations: 72.78 kB / 1.345 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.9059, allocations: 31.97 kB / 1.345 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.9077, allocations: 1.674 MB / 1.346 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9077, allocations: 0 / 1.346 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.9099, allocations: 1.01 MB / 1.347 GB, free: 8.828 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.9103, allocations: 284.2 kB / 1.348 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.9104, allocations: 24 kB / 1.348 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.9111, allocations: 71.98 kB / 1.348 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.9113, allocations: 76.89 kB / 1.348 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.9114, allocations: 35.97 kB / 1.348 GB, free: 8.324 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005882/0.9119, allocations: 471 kB / 1.348 GB, free: 7.871 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/0.912, allocations: 0 / 1.348 GB, free: 7.871 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008733/0.9128, allocations: 331.1 kB / 1.348 GB, free: 7.547 MB / 1.076 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.003814/0.9167, allocations: 2.087 MB / 1.351 GB, free: 5.594 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.9186, allocations: 0.8705 MB / 1.351 GB, free: 4.711 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9186, allocations: 0 / 1.351 GB, free: 4.711 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.9197, allocations: 0.5548 MB / 1.352 GB, free: 4.148 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.9209, allocations: 302.7 kB / 1.352 GB, free: 3.867 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.9316, allocations: 6.396 MB / 1.358 GB, free: 13.31 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.9321, allocations: 1.02 MB / 1.359 GB, free: 12.26 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008192/0.933, allocations: 278.8 kB / 1.36 GB, free: 11.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005478/0.9335, allocations: 383.2 kB / 1.36 GB, free: 11.61 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/0.9335, allocations: 0 / 1.36 GB, free: 11.61 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.9804, allocations: 22.44 MB / 1.382 GB, free: 5.41 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.2, allocations: 10.62 kB / 1.382 GB, free: 5.402 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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