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.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.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.004293/0.004294, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001052/0.001052, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.663/2.663, allocations: 469.4 MB / 0.7422 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.84 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2663, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008254/0.2746, allocations: 7.192 MB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6546/0.9292, allocations: 153.4 MB / 1.377 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.9302, allocations: 34.31 kB / 1.377 GB, free: 7.746 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.931, allocations: 347.1 kB / 1.377 GB, free: 7.516 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.9329, allocations: 0.7736 MB / 1.378 GB, free: 7.039 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.9355, allocations: 1.393 MB / 1.379 GB, free: 6.266 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.938, allocations: 2.664 MB / 1.382 GB, free: 4.836 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.9394, allocations: 1.045 MB / 1.383 GB, free: 4.191 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.9405, allocations: 0.8851 MB / 1.384 GB, free: 3.656 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008859/0.9414, allocations: 0.9195 MB / 1.384 GB, free: 3.004 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.9416, allocations: 211.5 kB / 1.385 GB, free: 3.004 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.9432, allocations: 0.969 MB / 1.386 GB, free: 2.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004491/0.9437, allocations: 0.534 MB / 1.386 GB, free: 2.164 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008348/0.9445, allocations: 1.019 MB / 1.387 GB, free: 1.402 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.9474, allocations: 3.021 MB / 1.39 GB, free: 15.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.9474, allocations: 0 / 1.39 GB, free: 15.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9475, allocations: 1.281 kB / 1.39 GB, free: 15.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.802e-05/0.9475, allocations: 0 / 1.39 GB, free: 15.23 MB / 1.092 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.004159/0.9517, allocations: 2.449 MB / 1.392 GB, free: 13.36 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.9517, allocations: 9.125 kB / 1.392 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000256/0.952, allocations: 214.8 kB / 1.393 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001983/0.954, allocations: 385.5 kB / 1.393 GB, free: 13 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.956, allocations: 1.327 MB / 1.394 GB, free: 11.97 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-05/0.9561, allocations: 105.8 kB / 1.394 GB, free: 11.92 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.9563, allocations: 144.9 kB / 1.395 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.9592, allocations: 1.658 MB / 1.396 GB, free: 10.78 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.9592, allocations: 7.984 kB / 1.396 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.9594, allocations: 63.69 kB / 1.396 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.9594, allocations: 36.28 kB / 1.396 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.963, allocations: 2.141 MB / 1.398 GB, free: 9.703 MB / 1.092 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.007225/0.9702, allocations: 4.923 MB / 1.403 GB, free: 5.836 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.9734, allocations: 1.607 MB / 1.405 GB, free: 5.027 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.9745, allocations: 0.6029 MB / 1.405 GB, free: 4.719 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.9746, allocations: 60.09 kB / 1.405 GB, free: 4.684 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.9763, allocations: 0.939 MB / 1.406 GB, free: 4.102 MB / 1.092 GB Notification: Performance of pre-optimization done (n=154): time 2.936e-06/0.9763, allocations: 1.594 kB / 1.406 GB, free: 4.102 MB / 1.092 GB Notification: Performance of matching and sorting (n=154): time 0.006242/0.9825, allocations: 2.383 MB / 1.409 GB, free: 2.816 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.9827, allocations: 353 kB / 1.409 GB, free: 2.406 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.9841, allocations: 1.161 MB / 1.41 GB, free: 1.762 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.9842, allocations: 64.03 kB / 1.41 GB, free: 1.703 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.9847, allocations: 0.6696 MB / 1.411 GB, free: 1.109 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.9851, allocations: 0.5103 MB / 1.411 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.9855, allocations: 284.2 kB / 1.412 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9856, allocations: 358.5 kB / 1.412 GB, free: 152 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.9867, allocations: 0.4895 MB / 1.412 GB, free: 15.9 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.988, allocations: 0.7189 MB / 1.413 GB, free: 15.33 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.9904, allocations: 1.192 MB / 1.414 GB, free: 14.11 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9904, allocations: 0 / 1.414 GB, free: 14.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003887/0.9943, allocations: 1.599 MB / 1.416 GB, free: 12.5 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.9944, allocations: 4 kB / 1.416 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9944, allocations: 4 kB / 1.416 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.9955, allocations: 165.8 kB / 1.416 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9968, allocations: 311.4 kB / 1.416 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/1.001, allocations: 3.299 MB / 1.42 GB, free: 8.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.002, allocations: 177.1 kB / 1.42 GB, free: 8.258 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.002, allocations: 59.97 kB / 1.42 GB, free: 8.199 MB / 1.107 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.0006661/1.003, allocations: 413.9 kB / 1.42 GB, free: 7.785 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/1.003, allocations: 175.8 kB / 1.42 GB, free: 7.613 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004982/1.008, allocations: 2.174 MB / 1.422 GB, free: 5.426 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.008, allocations: 16 kB / 1.422 GB, free: 5.41 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.008, allocations: 4 kB / 1.422 GB, free: 5.406 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/1.008, allocations: 15.89 kB / 1.422 GB, free: 5.391 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/1.01, allocations: 1.626 MB / 1.424 GB, free: 3.707 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.01, allocations: 0 / 1.424 GB, free: 3.707 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/1.011, allocations: 287.6 kB / 1.424 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008633/1.012, allocations: 145.6 kB / 1.424 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-05/1.012, allocations: 47.95 kB / 1.425 GB, free: 3.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/1.016, allocations: 3.352 MB / 1.428 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.016, allocations: 0 / 1.428 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/1.02, allocations: 1.832 MB / 1.43 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/1.021, allocations: 479.3 kB / 1.43 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.021, allocations: 40 kB / 1.43 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.022, allocations: 124.8 kB / 1.43 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/1.023, allocations: 141.8 kB / 1.43 GB, free: 12.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.023, allocations: 72.06 kB / 1.43 GB, free: 12.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001021/1.024, allocations: 0.8185 MB / 1.431 GB, free: 12.05 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.024, allocations: 0 / 1.431 GB, free: 12.05 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001217/1.025, allocations: 0.5184 MB / 1.432 GB, free: 11.54 MB / 1.123 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.005554/1.031, allocations: 2.947 MB / 1.435 GB, free: 8.738 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00334/1.034, allocations: 1.602 MB / 1.436 GB, free: 7.109 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/1.034, allocations: 4 kB / 1.436 GB, free: 7.105 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.036, allocations: 1.043 MB / 1.437 GB, free: 6.039 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.038, allocations: 0.5813 MB / 1.438 GB, free: 5.496 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.057, allocations: 11.25 MB / 1.449 GB, free: 10.04 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/1.058, allocations: 1.337 MB / 1.45 GB, free: 8.676 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001526/1.06, allocations: 0.5166 MB / 1.451 GB, free: 8.152 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.061, allocations: 0.7296 MB / 1.451 GB, free: 7.422 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/1.061, allocations: 0 / 1.451 GB, free: 7.422 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06775/1.129, allocations: 39.76 MB / 1.49 GB, free: 116 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.56, allocations: 3.938 kB / 1.49 GB, free: 112 kB / 1.17 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/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