Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.009405/0.009405, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.002416/0.002416, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 1.054 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2897, allocations: 157.4 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008585/0.2983, allocations: 7.198 MB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7876/1.086, allocations: 153.4 MB / 1.364 GB, free: 5.785 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.088, allocations: 33.66 kB / 1.364 GB, free: 5.773 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009209/1.089, allocations: 335.2 kB / 1.364 GB, free: 5.555 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/1.091, allocations: 0.7684 MB / 1.365 GB, free: 5.086 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/1.094, allocations: 1.39 MB / 1.367 GB, free: 4.316 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003094/1.097, allocations: 2.66 MB / 1.369 GB, free: 2.949 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.098, allocations: 1.036 MB / 1.37 GB, free: 2.395 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/1.1, allocations: 0.895 MB / 1.371 GB, free: 1.945 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/1.101, allocations: 0.9074 MB / 1.372 GB, free: 1.477 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/1.101, allocations: 210.9 kB / 1.372 GB, free: 1.477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/1.103, allocations: 0.9731 MB / 1.373 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004684/1.104, allocations: 0.5381 MB / 1.374 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009809/1.105, allocations: 1.019 MB / 1.375 GB, free: 216 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/1.108, allocations: 3.008 MB / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.108, allocations: 0 / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/1.108, allocations: 4 kB / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.061e-05/1.108, allocations: 0 / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.004876/1.113, allocations: 2.382 MB / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.113, allocations: 10.88 kB / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/1.114, allocations: 217.5 kB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/1.116, allocations: 376.8 kB / 1.38 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/1.118, allocations: 1.314 MB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.118, allocations: 113.7 kB / 1.382 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/1.118, allocations: 137.8 kB / 1.382 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/1.121, allocations: 1.656 MB / 1.384 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/1.121, allocations: 1.031 kB / 1.384 GB, free: 9.828 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/1.122, allocations: 59.12 kB / 1.384 GB, free: 9.785 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/1.122, allocations: 39.66 kB / 1.384 GB, free: 9.781 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/1.125, allocations: 2.149 MB / 1.386 GB, free: 8.75 MB / 1.076 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.007716/1.133, allocations: 4.903 MB / 1.391 GB, free: 4.906 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/1.136, allocations: 1.62 MB / 1.392 GB, free: 4.082 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/1.137, allocations: 0.5908 MB / 1.393 GB, free: 3.777 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/1.137, allocations: 57.09 kB / 1.393 GB, free: 3.746 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.139, allocations: 0.9449 MB / 1.394 GB, free: 3.156 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 2.995e-06/1.139, allocations: 0 / 1.394 GB, free: 3.156 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.006143/1.145, allocations: 2.371 MB / 1.396 GB, free: 1.887 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/1.145, allocations: 358.2 kB / 1.396 GB, free: 1.469 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.147, allocations: 1.158 MB / 1.397 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/1.147, allocations: 60.55 kB / 1.398 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/1.147, allocations: 0.6637 MB / 1.398 GB, free: 192 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/1.148, allocations: 0.4935 MB / 1.399 GB, free: 15.75 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/1.148, allocations: 279.3 kB / 1.399 GB, free: 15.59 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.148, allocations: 355.4 kB / 1.399 GB, free: 15.25 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009605/1.149, allocations: 0.4927 MB / 1.4 GB, free: 15 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/1.15, allocations: 0.7241 MB / 1.4 GB, free: 14.51 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/1.152, allocations: 1.185 MB / 1.402 GB, free: 13.85 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.152, allocations: 0 / 1.402 GB, free: 13.85 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003746/1.156, allocations: 1.594 MB / 1.403 GB, free: 13.04 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.156, allocations: 7.969 kB / 1.403 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.156, allocations: 7.188 kB / 1.403 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/1.157, allocations: 160.9 kB / 1.403 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.159, allocations: 303.6 kB / 1.404 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/1.162, allocations: 3.285 MB / 1.407 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.164, allocations: 184.2 kB / 1.407 GB, free: 9.539 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.164, allocations: 71.97 kB / 1.407 GB, free: 9.508 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,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 (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008701/1.165, allocations: 405.7 kB / 1.407 GB, free: 9.211 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/1.166, allocations: 162 kB / 1.408 GB, free: 9.051 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/1.171, allocations: 2.171 MB / 1.41 GB, free: 6.859 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.171, allocations: 16 kB / 1.41 GB, free: 6.844 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/1.171, allocations: 4 kB / 1.41 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/1.171, allocations: 15.91 kB / 1.41 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.173, allocations: 1.62 MB / 1.411 GB, free: 5.148 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.173, allocations: 0 / 1.411 GB, free: 5.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.174, allocations: 287.6 kB / 1.412 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008761/1.175, allocations: 149.5 kB / 1.412 GB, free: 4.715 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.175, allocations: 51.97 kB / 1.412 GB, free: 4.664 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/1.179, allocations: 3.346 MB / 1.415 GB, free: 1.031 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.179, allocations: 3.984 kB / 1.415 GB, free: 1.027 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/1.183, allocations: 1.824 MB / 1.417 GB, free: 15.17 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/1.184, allocations: 474.3 kB / 1.417 GB, free: 14.69 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/1.184, allocations: 40 kB / 1.417 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.186, allocations: 128 kB / 1.418 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.186, allocations: 145.8 kB / 1.418 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.186, allocations: 67.95 kB / 1.418 GB, free: 14.32 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001368/1.187, allocations: 0.8069 MB / 1.418 GB, free: 13.51 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.187, allocations: 0 / 1.418 GB, free: 13.51 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001662/1.189, allocations: 0.5184 MB / 1.419 GB, free: 12.99 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005904/1.195, allocations: 2.927 MB / 1.422 GB, free: 10.21 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003526/1.199, allocations: 1.606 MB / 1.423 GB, free: 8.578 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.199, allocations: 11.98 kB / 1.423 GB, free: 8.566 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.201, allocations: 1.04 MB / 1.424 GB, free: 7.508 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.204, allocations: 0.5895 MB / 1.425 GB, free: 6.957 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.225, allocations: 11.17 MB / 1.436 GB, free: 11.58 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.226, allocations: 1.333 MB / 1.437 GB, free: 10.22 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001798/1.228, allocations: 0.5088 MB / 1.438 GB, free: 9.703 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.229, allocations: 0.7451 MB / 1.438 GB, free: 8.957 MB / 1.123 GB Notification: Performance of SimCode: time 7.01e-07/1.229, allocations: 4 kB / 1.438 GB, free: 8.953 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07809/1.307, allocations: 40.59 MB / 1.478 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.88, allocations: 12 kB / 1.478 GB, free: 0.8086 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches