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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007134/0.007134, allocations: 97 kB / 15.73 MB, free: 5.949 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.001858/0.001858, allocations: 193.2 kB / 16.67 MB, free: 5.871 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.278/1.278, 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 11.1.0-master/package.mo): time 2.531/2.531, allocations: 469.4 MB / 0.7421 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.84 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7056, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006393/0.7121, allocations: 4.69 MB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.8603, allocations: 150.6 MB / 1.371 GB, free: 6.395 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.861, allocations: 15.94 kB / 1.371 GB, free: 6.379 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.8616, allocations: 182.3 kB / 1.372 GB, free: 6.199 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.8633, allocations: 0.5431 MB / 1.372 GB, free: 5.656 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.8652, allocations: 0.8489 MB / 1.373 GB, free: 4.812 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.8669, allocations: 1.397 MB / 1.374 GB, free: 3.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000889/0.8678, allocations: 0.5259 MB / 1.375 GB, free: 2.863 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000794/0.8686, allocations: 490.3 kB / 1.375 GB, free: 2.383 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007163/0.8693, allocations: 493.9 kB / 1.376 GB, free: 1.898 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.8696, allocations: 108 kB / 1.376 GB, free: 1.793 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.871, allocations: 0.8738 MB / 1.377 GB, free: 0.918 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.8712, allocations: 283.1 kB / 1.377 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.8718, allocations: 0.5363 MB / 1.377 GB, free: 104 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.8738, allocations: 1.799 MB / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8739, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8739, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.8739, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.107 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.002767/0.8767, allocations: 1.494 MB / 1.381 GB, free: 12.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.8767, allocations: 8.625 kB / 1.381 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.8769, allocations: 122.8 kB / 1.381 GB, free: 12.61 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.8781, allocations: 216 kB / 1.381 GB, free: 12.4 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.8794, allocations: 0.7707 MB / 1.382 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.8795, allocations: 58 kB / 1.382 GB, free: 11.53 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.8796, allocations: 75.98 kB / 1.382 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.8813, allocations: 0.8919 MB / 1.383 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8813, allocations: 3.938 kB / 1.383 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.8814, allocations: 32 kB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.8814, allocations: 20 kB / 1.383 GB, free: 10.46 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.8835, allocations: 1.128 MB / 1.384 GB, free: 9.34 MB / 1.107 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.004034/0.8875, allocations: 2.601 MB / 1.386 GB, free: 6.645 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.8892, allocations: 0.8352 MB / 1.387 GB, free: 5.801 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.8899, allocations: 326.7 kB / 1.388 GB, free: 5.477 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.89, allocations: 36.53 kB / 1.388 GB, free: 5.441 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.8911, allocations: 0.5226 MB / 1.388 GB, free: 4.902 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.544e-06/0.8911, allocations: 4 kB / 1.388 GB, free: 4.898 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003656/0.8947, allocations: 1.296 MB / 1.389 GB, free: 3.574 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.8948, allocations: 188.6 kB / 1.39 GB, free: 3.348 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.8956, allocations: 0.6373 MB / 1.39 GB, free: 2.703 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.8957, allocations: 45.69 kB / 1.39 GB, free: 2.652 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.896, allocations: 385 kB / 1.391 GB, free: 2.27 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.8962, allocations: 281.6 kB / 1.391 GB, free: 1.992 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.8965, allocations: 154.6 kB / 1.391 GB, free: 1.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8966, allocations: 394.7 kB / 1.391 GB, free: 1.441 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006728/0.8973, allocations: 277.8 kB / 1.392 GB, free: 1.168 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.8981, allocations: 399.3 kB / 1.392 GB, free: 0.75 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.8995, allocations: 0.6471 MB / 1.393 GB, free: 88 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8995, allocations: 0 / 1.393 GB, free: 88 kB / 1.107 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002274/0.9018, allocations: 0.8687 MB / 1.394 GB, free: 15.21 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.9019, allocations: 5.562 kB / 1.394 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.9019, allocations: 8.125 kB / 1.394 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.9025, allocations: 84.75 kB / 1.394 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.9033, allocations: 167.8 kB / 1.394 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.9053, allocations: 1.647 MB / 1.395 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.9061, allocations: 99.52 kB / 1.395 GB, free: 13.06 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.9062, allocations: 39.97 kB / 1.396 GB, free: 13.02 MB / 1.123 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.0004135/0.9066, allocations: 263.4 kB / 1.396 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.9068, allocations: 95.56 kB / 1.396 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.9096, allocations: 1.202 MB / 1.397 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.9097, allocations: 8 kB / 1.397 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9097, allocations: 4 kB / 1.397 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.9097, allocations: 7.922 kB / 1.397 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.9108, allocations: 0.9154 MB / 1.398 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9108, allocations: 0 / 1.398 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.9115, allocations: 163.8 kB / 1.398 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.9119, allocations: 72.78 kB / 1.398 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.912, allocations: 27.98 kB / 1.398 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.9138, allocations: 1.678 MB / 1.4 GB, free: 8.371 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9139, allocations: 8.094 kB / 1.4 GB, free: 8.363 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.9162, allocations: 1.006 MB / 1.401 GB, free: 7.336 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.9166, allocations: 284.2 kB / 1.401 GB, free: 7.039 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.9168, allocations: 24 kB / 1.401 GB, free: 7.016 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.9176, allocations: 74.27 kB / 1.401 GB, free: 6.945 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.9177, allocations: 72.89 kB / 1.401 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.9178, allocations: 39.97 kB / 1.401 GB, free: 6.836 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005774/0.9184, allocations: 470.9 kB / 1.402 GB, free: 6.383 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9184, allocations: 0 / 1.402 GB, free: 6.383 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008199/0.9192, allocations: 331.1 kB / 1.402 GB, free: 6.059 MB / 1.123 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.003819/0.923, allocations: 2.084 MB / 1.404 GB, free: 4.121 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.925, allocations: 0.8663 MB / 1.405 GB, free: 3.242 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.925, allocations: 4 kB / 1.405 GB, free: 3.238 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.9261, allocations: 0.559 MB / 1.405 GB, free: 2.668 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.9273, allocations: 296.9 kB / 1.406 GB, free: 2.398 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.9383, allocations: 6.402 MB / 1.412 GB, free: 11.84 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.9389, allocations: 1.019 MB / 1.413 GB, free: 10.79 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008353/0.9397, allocations: 274.9 kB / 1.413 GB, free: 10.52 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/0.9403, allocations: 383.3 kB / 1.414 GB, free: 10.14 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/0.9403, allocations: 0 / 1.414 GB, free: 10.14 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.989, allocations: 22.44 MB / 1.436 GB, free: 4.043 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.16, allocations: 7.844 kB / 1.436 GB, free: 4.035 MB / 1.154 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