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.007917/0.007917, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.001948/0.001948, allocations: 194.6 kB / 16.67 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.89 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2729, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006235/0.2792, allocations: 4.698 MB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7413/1.021, allocations: 150.6 MB / 1.359 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/1.021, allocations: 16.88 kB / 1.359 GB, free: 9.559 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008385/1.022, allocations: 184.8 kB / 1.359 GB, free: 9.438 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/1.024, allocations: 0.5331 MB / 1.36 GB, free: 9.133 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/1.027, allocations: 0.8422 MB / 1.36 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001802/1.029, allocations: 1.389 MB / 1.362 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009357/1.029, allocations: 0.531 MB / 1.362 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/1.03, allocations: 484 kB / 1.363 GB, free: 7.477 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/1.031, allocations: 488.5 kB / 1.363 GB, free: 7.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/1.031, allocations: 111.2 kB / 1.363 GB, free: 7.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/1.033, allocations: 0.8764 MB / 1.364 GB, free: 7.004 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/1.034, allocations: 287.6 kB / 1.364 GB, free: 6.824 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008606/1.035, allocations: 0.5283 MB / 1.365 GB, free: 6.469 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/1.037, allocations: 1.796 MB / 1.367 GB, free: 5.738 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.037, allocations: 5.828 kB / 1.367 GB, free: 5.734 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.037, allocations: 0 / 1.367 GB, free: 5.734 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.196e-05/1.037, allocations: 0 / 1.367 GB, free: 5.734 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.003172/1.041, allocations: 1.448 MB / 1.368 GB, free: 4.754 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.041, allocations: 9.562 kB / 1.368 GB, free: 4.754 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/1.041, allocations: 123.6 kB / 1.368 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/1.042, allocations: 212.8 kB / 1.368 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.043, allocations: 0.764 MB / 1.369 GB, free: 4.105 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/1.043, allocations: 56.03 kB / 1.369 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/1.043, allocations: 76.09 kB / 1.369 GB, free: 4.055 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.045, allocations: 0.8976 MB / 1.37 GB, free: 3.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.045, allocations: 5.219 kB / 1.37 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/1.045, allocations: 34.2 kB / 1.37 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.045, allocations: 23.2 kB / 1.37 GB, free: 3.605 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/1.047, allocations: 1.12 MB / 1.371 GB, free: 3.203 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.003828/1.051, allocations: 2.584 MB / 1.374 GB, free: 1.145 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.052, allocations: 0.8305 MB / 1.375 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006406/1.053, allocations: 332.9 kB / 1.375 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/1.053, allocations: 30.98 kB / 1.375 GB, free: 0.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009448/1.054, allocations: 0.5262 MB / 1.376 GB, free: 212 kB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.295e-06/1.054, allocations: 0 / 1.376 GB, free: 212 kB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003478/1.058, allocations: 1.29 MB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/1.058, allocations: 201.4 kB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/1.059, allocations: 0.6314 MB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/1.059, allocations: 42.67 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/1.059, allocations: 386.1 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.059, allocations: 265.2 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.059, allocations: 155.2 kB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.06, allocations: 393.5 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/1.06, allocations: 284.4 kB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/1.061, allocations: 395.7 kB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.062, allocations: 0.6454 MB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.062, allocations: 5.125 kB / 1.38 GB, free: 13.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002143/1.064, allocations: 0.8645 MB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.064, allocations: 5.438 kB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.064, allocations: 1.312 kB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/1.065, allocations: 81.62 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/1.066, allocations: 169.2 kB / 1.381 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/1.068, allocations: 1.642 MB / 1.383 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/1.068, allocations: 99.19 kB / 1.383 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/1.069, allocations: 33.17 kB / 1.383 GB, free: 10.87 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.000453/1.069, allocations: 266.5 kB / 1.383 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.069, allocations: 88.16 kB / 1.383 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/1.072, allocations: 1.21 MB / 1.384 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.072, allocations: 9.625 kB / 1.384 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.072, allocations: 1.375 kB / 1.384 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.072, allocations: 3.984 kB / 1.384 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/1.073, allocations: 0.9258 MB / 1.385 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.073, allocations: 0 / 1.385 GB, free: 9.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/1.074, allocations: 165.8 kB / 1.386 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/1.074, allocations: 70.67 kB / 1.386 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/1.074, allocations: 33.12 kB / 1.386 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/1.076, allocations: 1.665 MB / 1.387 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.076, allocations: 5.281 kB / 1.387 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/1.078, allocations: 1.007 MB / 1.388 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/1.079, allocations: 281.5 kB / 1.389 GB, free: 6.719 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.079, allocations: 21.06 kB / 1.389 GB, free: 6.703 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/1.08, allocations: 75.81 kB / 1.389 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.08, allocations: 76.05 kB / 1.389 GB, free: 6.621 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.375e-05/1.08, allocations: 36.05 kB / 1.389 GB, free: 6.609 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005451/1.081, allocations: 464.3 kB / 1.389 GB, free: 6.344 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/1.081, allocations: 2.875 kB / 1.389 GB, free: 6.344 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008749/1.081, allocations: 324.2 kB / 1.389 GB, free: 6.25 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.003503/1.085, allocations: 2.068 MB / 1.391 GB, free: 4.988 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001925/1.087, allocations: 0.8624 MB / 1.392 GB, free: 4.535 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.087, allocations: 1.844 kB / 1.392 GB, free: 4.535 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.088, allocations: 0.5632 MB / 1.393 GB, free: 4.219 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.089, allocations: 309.9 kB / 1.393 GB, free: 4.059 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.1, allocations: 6.367 MB / 1.399 GB, free: 160 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/1.1, allocations: 1.012 MB / 1.4 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000862/1.101, allocations: 276.3 kB / 1.401 GB, free: 15.18 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000518/1.102, allocations: 382.8 kB / 1.401 GB, free: 14.88 MB / 1.092 GB Notification: Performance of SimCode: time 8.42e-07/1.102, allocations: 0 / 1.401 GB, free: 14.88 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/1.151, allocations: 22.87 MB / 1.423 GB, free: 9.383 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/13.03, allocations: 18.23 kB / 1.423 GB, free: 9.367 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches